[Bug lto/41281] New: toplevel asms do not work
rguenth at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sat Sep 5 17:46:00 GMT 2009
Testcase:
asm(".text\n"
".globl main\n"
"\t.type main,@function\n"
"main:\n"
"\tret\n");
$ ./xgcc -B. -o t t.c -flto
/usr/lib/crt1.o: In function `_start':
/build/buildd-eglibc_2.9-26-i386-ldMK3g/eglibc-2.9/csu/../sysdeps/i386/elf/start.S:115:
undefined reference to `main'
collect2: ld returned 1 exit status
--
Summary: toplevel asms do not work
Product: gcc
Version: lto
Status: UNCONFIRMED
Keywords: wrong-code
Severity: normal
Priority: P3
Component: lto
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: rguenth at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41281
More information about the Gcc-bugs
mailing list