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.

Reply via email to