[Bug debug/46580] -fcompare-debug failure with -gstabs -g due to different symbol mangling
zsojka at seznam dot cz
gcc-bugzilla@gcc.gnu.org
Sat Nov 20 16:45:00 GMT 2010
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46580
Zdenek Sojka <zsojka at seznam dot cz> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |aoliva at gcc dot gnu.org
Known to fail| |4.2.4, 4.3.5, 4.4.6
--- Comment #2 from Zdenek Sojka <zsojka at seznam dot cz> 2010-11-20 16:29:57 UTC ---
For the second testcase, all 4.2.4, 4.3.5, 4.4.6, 4.5.2 and 4.6.0 generate
different symbol names for "-gstabs -g" case, compared to "" case.
gcc 4.0.4 and 4.1.2 don't generate any code at all (?)
gcc 3.3.6 and 3.4.6 generate same symbol names, _ZN1f1fEv. I don't know if
that's by luck or not, so I am not adding them to the "Known to work" field.
The function can be renamed to something else than "f()", the problem persists.
First testcase seems to fail only in 4.5 and 4.6.
This probably isn't typical -fcompare-debug failure.
More information about the Gcc-bugs
mailing list