[Bug middle-end/26171] New: #pragma omp threadprivate requires -funit-at-at-time
ebotcazou at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Feb 8 10:47:00 GMT 2006
Try to compile libgomp/testsuite/libgomp.c/copyin-1.c at -O0:
eric@linux:~/build/gcc/native> gcc/xgcc -Bgcc -c copyin-1.c -I
~/build/gcc/native/x86_64-suse-linux/libgomp -fopenmp
/tmp/ccB3EieP.s: Assembler messages:
/tmp/ccB3EieP.s:278: Error: Accessing `thr' as thread-local object
/tmp/ccB3EieP.s:278: Error: Accessing `thr' as thread-local object
/tmp/ccB3EieP.s:278: Error: Accessing `thr' as thread-local object
/tmp/ccB3EieP.s:278: Error: Accessing `thr' as thread-local object
/tmp/ccB3EieP.s:278: Error: Accessing `thr' as thread-local object
/tmp/ccB3EieP.s:278: Error: Accessing `thr' as thread-local object
eric@linux:~/build/gcc/native> gcc/xgcc -Bgcc -c copyin-1.c -I
~/build/gcc/native/x86_64-suse-linux/libgomp -fopenmp -funit-at-a-time
eric@linux:~/build/gcc/native> gcc/xgcc -Bgcc -c copyin-1.c -I
~/build/gcc/native/x86_64-suse-linux/libgomp -fopenmp -O -fno-unit-at-a-time
/tmp/ccTYpCzg.s: Assembler messages:
/tmp/ccTYpCzg.s:220: Error: Accessing `thr' as thread-local object
/tmp/ccTYpCzg.s:220: Error: Accessing `thr' as thread-local object
/tmp/ccTYpCzg.s:220: Error: Accessing `thr' as thread-local object
/tmp/ccTYpCzg.s:220: Error: Accessing `thr' as thread-local object
/tmp/ccTYpCzg.s:220: Error: Accessing `thr' as thread-local object
/tmp/ccTYpCzg.s:220: Error: Accessing `thr' as thread-local object
--
Summary: #pragma omp threadprivate requires -funit-at-at-time
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Keywords: openmp
Severity: normal
Priority: P3
Component: middle-end
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: ebotcazou at gcc dot gnu dot org
GCC build triplet: *-*-*
GCC host triplet: *-*-*
GCC target triplet: *-*-*
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26171
More information about the Gcc-bugs
mailing list