[Bug c++/51323] g++ confuses this with function argument in optimized call

dak at gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Nov 28 13:12:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51323

David Kastrup <dak at gnu dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|4.5.0                       |4.5.2

--- Comment #2 from David Kastrup <dak at gnu dot org> 2011-11-28 12:17:52 UTC ---
This particular code generation bug is responsible for at least half a dozen
problems in the code base of Lilypond and causes a number of regression test
failures.

We will have to add respective compiler options based on the version number of
gcc.  If anybody knowing the responsible compiler internals can construct a
self-contained test case that does not require manually inspecting the
generated code for errors, we could at least add an autoconf test specifically
tailored to the occurence of this bug instead of basing the workaround compiler
options on the version number.



More information about the Gcc-bugs mailing list