http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55721
Bug #: 55721 Summary: -mabi=64 compilation results in unknown UNSPEC note Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: debug AssignedTo: unassig...@gcc.gnu.org ReportedBy: s...@gcc.gnu.org Target: mips*-*-* When compiling the following testsuite with "-O2 -g -mips64r2 -mabi=64", GCC generates a note about a 'non-deligitimized UNSPEC'. I think this program conforms to Ansi C and it doesn't generates any notes or warnings when compiled with -mabi=32 or -mabi=n32 and I don't think it should generate a note when compiled with -mabi=64. static void sibcall3 (void) { } extern void bar (void (*) (void)); int nested (int x) { bar (sibcall3); return 1; } % gcc -mips64r2 -mabi=64 -c -O2 -g x.c x.c: In function ‘nested’: x.c:4:5: note: non-delegitimized UNSPEC unknown (230) found in variable location int nested (int x) The mips target does not have a UNSPEC number 230.