[Bug lto/51280] ICE when lto1 does not have -fgnu-tm and object file uses TM
aldyh at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Dec 9 18:16:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51280
--- Comment #2 from Aldy Hernandez <aldyh at gcc dot gnu.org> 2011-12-09 18:13:47 UTC ---
I can't reproduce this:
houston:/build/t/gcc$ cat b.c
int main()
{
return __builtin_omp_get_thread_num();
}
houston:/build/t/gcc$ ./xgcc -B./ -c -fgnu-tm -flto b.c -o b.o
houston:/build/t/gcc$ ./xgcc -B./ b.o -L
/usr/lib/gcc/x86_64-redhat-linux/4.6.2/ -lgomp
houston:/build/t/gcc$ ./a.out
houston:/build/t/gcc$
I've tried various other variations, but I can't reproduce. Please clarify.
More information about the Gcc-bugs
mailing list