Command line: $ gcc -O1 -fverbose-asm testcase.c Compiler output: $ /mnt/svn/gcc-trunk/binary-162056-lto-fortran-checking-yes-rtl-df/bin/gcc -O1 -fverbose-asm -c testcase.c /tmp/ccfCayS2.s: Assembler messages: /tmp/ccfCayS2.s:48: Error: junk at end of line, first unrecognized character is `{' /tmp/ccfCayS2.s:49: Error: no such instruction: `char c[4]' /tmp/ccfCayS2.s:50: Error: junk at end of line, first unrecognized character is `}'
The broken assembly looks like: .L2: movb %dl, (%rax) # c, MEM[(union { char c[4]; } *)D.2728_11] addq $1, %rax #, ivtmp.3 jmp .L2 # Tested revisions: r162056 - fail r161659 - OK 4.4.4, 4.5.0 - OK -- Summary: [4.6 Regression] line breaks in asm comments break assembly with -fverbose-asm Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: zsojka at seznam dot cz GCC host triplet: x86_64-pc-linux-gnu GCC target triplet: x86_64-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44911