http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47137
Summary: [4.6 Regression] gcc incorrectly combines assembly inputs Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: driver AssignedTo: unassig...@gcc.gnu.org ReportedBy: hjl.to...@gmail.com [...@gnu-6 gcc]$ cat t1.s .globl main main: .L1: .word 9 [...@gnu-6 gcc]$ cat t2.s .L1: .word 9 [...@gnu-6 gcc]$ ./xgcc -B./ t1.s t2.s [...@gnu-6 gcc]$ ./xgcc -B./ t1.s t2.s -o foo t2.s: Assembler messages: t2.s:1: Error: symbol `.L1' is already defined [...@gnu-6 gcc]$