This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/51280] ICE when lto1 does not have -fgnu-tm and object file uses TM
- From: "aldyh at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 09 Dec 2011 18:13:47 +0000
- Subject: [Bug lto/51280] ICE when lto1 does not have -fgnu-tm and object file uses TM
- Auto-submitted: auto-generated
- References: <bug-51280-4@http.gcc.gnu.org/bugzilla/>
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.