[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#630441: g++-4.6 miscompilation



tag 630441 moreinfo help
thanks

On 07/21/2011 12:01 PM, Philip Ashmore wrote:
Sorry if I wasn't clear.
All the tests pass in the debug (-0O) build.

I've got gcc/g++ 4.4.6-6 installed and all the tests pass in debug and release
mode.
This is a problem with the g++ 4.6 release (-03) optimization.

unproven.

Repeating my questions here:

how do you know that it's not undefined behaviour exposed by the new compiler
version?

Some more information is needed:

 - is this seen on amd64 only, or on other architectures too?
 - which optimization flags are used? does lowering the optimization
   level works around the issue?
 - does it build using gcc-snapshot, gcc-4.5 or gcc-4.4?
 - if you have a working and a non-working build, can you try
   to combine object files to determine the problematic object
   file?



Reply to: