http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46580
Summary: -fcompare-debug failure with -gstabs -g due to
different symbol mangling
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: debug
AssignedTo: [email protected]
ReportedBy: [email protected]
Created attachment 22469
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22469
reduced testcase
Compiler output:
$ gcc -gstabs -g -fcompare-debug testcase.C
gcc: error: testcase.C: -fcompare-debug failure
Differences:
$ diff testcase.*gkd
3c3
< ;; Function (_ZN1SC2EU8__vectorf)
---
> ;; Function (_ZN1SC1EU8__vectorf)
Both are demangled by c++filt to "S::S(float __vector)"
Tested revisions:
r166936 - fail
4.5 r166509 - fail