[cfe-dev] need help to log optimization bug

Sebastian Redl sebastian.redl at getdesigned.at
Tue Mar 13 01:33:09 PDT 2012


On 13.03.2012 08:37, Yingshen Yu wrote:
> Hi experts,
>
> I found a clang optimization bug when building release version of our 
> codebase.
> The code is an inline function that does some calculation, in 
> optimized build, it seems the generated code uses an incorrect 
> register, which results the code calculation gets wrong result. I'm 
> planning to submit a bug report fot this.
>
> My problem is the issue is stable reproduced, but it is deep in our 
> code, which involves several classes and inline functions.  Do you 
> have any suggestions or guideline on how to report issue like this?
>
That's what the bugpoint tool is for.
http://llvm.org/docs/Bugpoint.html
http://quetzalcoatal.blogspot.com/2012/03/how-to-use-bugpoint.html

Sebastian



More information about the cfe-dev mailing list