https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96953
--- Comment #2 from Alex <alex.wolf at gmail dot com> --- Created attachment 49192 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49192&action=edit g++-8 -std=c++11 -Og -dA -ggdb -c ~/test/abc.cpp 2>out.txt this is the output of the compile command: /tmp/cce5iZjM.s: Assembler messages: /tmp/cce5iZjM.s:524: Error: invalid character (0xa) in mnemonic /tmp/cce5iZjM.s:525: Error: invalid character (0xa) in mnemonic /tmp/cce5iZjM.s:526: Warning: missing closing `"' /tmp/cce5iZjM.s:526: Error: invalid character (0xa) in mnemonic /tmp/cce5iZjM.s:582: Error: junk at end of line, first unrecognized character valued 0x9 /tmp/cce5iZjM.s:583: Error: junk at end of line, first unrecognized character valued 0x9 /tmp/cce5iZjM.s:584: Error: junk at end of line, first unrecognized character valued 0x9 This repeats for about 16k lines and then: /tmp/cce5iZjM.s:18983: Error: junk at end of line, first unrecognized character valued 0x9 /tmp/cce5iZjM.s:18989: Error: junk at end of line, first unrecognized character valued 0x9 /tmp/cce5iZjM.s:18991: Error: junk at end of line, first unrecognized character valued 0x9 /tmp/cce5iZjM.s:20870: Warning: end of file in string; '"' inserted /tmp/cce5iZjM.s:21072: Warning: missing closing '"' /tmp/cce5iZjM.s:21072: Error: invalid character (0xa) in mnemonic /tmp/cce5iZjM.s: Error: open CFI at the end of file; missing .cfi_endproc directive /tmp/cce5iZjM.s:18765: Error: leb128 operand is an undefined symbol: .LVU79 /tmp/cce5iZjM.s:18777: Error: leb128 operand is an undefined symbol: .LVU79 /tmp/cce5iZjM.s:18778: Error: leb128 operand is an undefined symbol: .LVU79 this repeats about 30 lines and then: /tmp/cce5iZjM.s:18947: Error: leb128 operand is an undefined symbol: .LVU79 /tmp/cce5iZjM.s:18948: Error: leb128 operand is an undefined symbol: .LVU79 /tmp/cce5iZjM.s:18949: Error: leb128 operand is an undefined symbol: .LVU79 /tmp/cce5iZjM.s:15745: Error: can't resolve `.LFE1019' {*UND* section} - `.LFB1019' {.text section} /tmp/cce5iZjM.s:15814: Error: can't resolve `.LBE191' {*UND* section} - `.LBB191' {.text section} /tmp/cce5iZjM.s:15867: Error: can't resolve `.LBE195' {*UND* section} - `.LBB195' {*UND* section} /tmp/cce5iZjM.s:15882: Error: can't resolve `.LBE196' {*UND* section} - `.LBB196' {*UND* section} /tmp/cce5iZjM.s:15900: Error: can't resolve `.LBE197' {*UND* section} - `.LBB197' {*UND* section} /tmp/cce5iZjM.s:15906: Error: can't resolve `.LBE198' {*UND* section} - `.LBB198' {*UND* section} /tmp/cce5iZjM.s:15926: Error: can't resolve `.LBE199' {*UND* section} - `.LBB199' {*UND* section} /tmp/cce5iZjM.s:15959: Error: can't resolve `.LBE202' {*UND* section} - `.LBB202' {*UND* section} /tmp/cce5iZjM.s:15970: Error: can't resolve `.LBE203' {*UND* section} - `.LBB203' {*UND* section}