http://llvm.org/bugs/show_bug.cgi?id=3518
Summary: undefined reference to __compound_literal.* Product: tools Version: 2.5 Platform: PC OS/Version: Windows XP Status: NEW Severity: normal Priority: P2 Component: llvm-gcc AssignedTo: unassignedb...@nondot.org ReportedBy: jay.f...@antixlabs.com CC: llvmbugs@cs.uiuc.edu Created an attachment (id=2516) --> (http://llvm.org/bugs/attachment.cgi?id=2516) test case The attached test case is taken from the GCC 4.2 testsuite. With llvm-gcc 2.5 (first prerelease) I get: $ ~/llvm/llvm-gcc4.2-2.5-x86-linux-RHEL4/bin/llvm-gcc -O0 20050929-1.c /tmp/cce8mH7H.o:(.data+0x0): undefined reference to `__compound_literal.2' /tmp/cce8mH7H.o:(.data+0x4): undefined reference to `__compound_literal.3' collect2: ld returned 1 exit status I don't get this error with either llvm-gcc 2.4 or any GCC 4.X (I've tried debian lenny's 4.1.3, 4.2.4 and 4.3.2). -- Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ LLVMbugs mailing list LLVMbugs@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs