http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52150
Bug #: 52150 Summary: [4.7 regression] junk at end of line in Firefox PGO build Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: gcov-profile AssignedTo: unassig...@gcc.gnu.org ReportedBy: mar...@trippelsdorf.de Consider: % cat test.i typedef struct _cairo cairo_t; cairo_t *_moz_cairo_create (); __typeof (_moz_cairo_create) _moz_cairo_create __asm__ ("INT__moz_cairo_create"); cairo_t *_moz_cairo_create () { } % gcc -c -fprofile-generate test.i /tmp/ccwYenBS.s: Assembler messages: /tmp/ccwYenBS.s:41: Error: junk at end of line, first unrecognized character is `*' /tmp/ccwYenBS.s:42: Error: bad expression /tmp/ccwYenBS.s:42: Error: junk at end of line, first unrecognized character is `I' /tmp/ccwYenBS.s:66: Error: unrecognized symbol type "" /tmp/ccwYenBS.s:66: Error: junk at end of line, first unrecognized character is `*' /tmp/ccwYenBS.s:67: Error: expected comma after name `__gcov__' in .size directive /tmp/ccwYenBS.s:68: Error: invalid character '*' in mnemonic /tmp/ccwYenBS.s:76: Error: operation combines symbols in different segments >From test.s: 39 __gcov_indirect_call_counters: 40 .zero 8 41 .local __gcov0_*INT__moz_cairo_create 42 .comm __gcov0_*INT__moz_cairo_create,8,8 43 .text 44 .type _GLOBAL__sub_I_65535_0_INT__moz_cairo_create, @function