public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/26171] New: #pragma omp threadprivate requires -funit-at-at-time
@ 2006-02-08 10:47 ebotcazou at gcc dot gnu dot org
2006-02-22 15:10 ` [Bug c/26171] #pragma omp threadprivate requires -funit-at-a-time reichelt at gcc dot gnu dot org
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2006-02-08 10:47 UTC (permalink / raw)
To: gcc-bugs
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c/26171] #pragma omp threadprivate requires -funit-at-a-time
2006-02-08 10:47 [Bug middle-end/26171] New: #pragma omp threadprivate requires -funit-at-at-time ebotcazou at gcc dot gnu dot org
@ 2006-02-22 15:10 ` reichelt at gcc dot gnu dot org
2006-04-19 8:34 ` jakub at gcc dot gnu dot org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2006-02-22 15:10 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from reichelt at gcc dot gnu dot org 2006-02-22 15:10 -------
Confirmed.
Even shorter testcase:
==================================
int i=0;
#pragma omp threadprivate (i)
void foo()
{
i=0;
}
==================================
--
reichelt at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |reichelt at gcc dot gnu dot
| |org
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Keywords| |monitored
Last reconfirmed|0000-00-00 00:00:00 |2006-02-22 15:10:22
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26171
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c/26171] #pragma omp threadprivate requires -funit-at-a-time
2006-02-08 10:47 [Bug middle-end/26171] New: #pragma omp threadprivate requires -funit-at-at-time ebotcazou at gcc dot gnu dot org
2006-02-22 15:10 ` [Bug c/26171] #pragma omp threadprivate requires -funit-at-a-time reichelt at gcc dot gnu dot org
@ 2006-04-19 8:34 ` jakub at gcc dot gnu dot org
2006-04-26 8:26 ` jakub at gcc dot gnu dot org
2006-04-26 8:29 ` jakub at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: jakub at gcc dot gnu dot org @ 2006-04-19 8:34 UTC (permalink / raw)
To: gcc-bugs
--
jakub at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |jakub at gcc dot gnu dot org
|dot org |
URL| |http://gcc.gnu.org/ml/gcc-
| |patches/2006-
| |04/msg00682.html
Status|NEW |ASSIGNED
Last reconfirmed|2006-02-22 15:10:22 |2006-04-19 08:34:20
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26171
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c/26171] #pragma omp threadprivate requires -funit-at-a-time
2006-02-08 10:47 [Bug middle-end/26171] New: #pragma omp threadprivate requires -funit-at-at-time ebotcazou at gcc dot gnu dot org
2006-02-22 15:10 ` [Bug c/26171] #pragma omp threadprivate requires -funit-at-a-time reichelt at gcc dot gnu dot org
2006-04-19 8:34 ` jakub at gcc dot gnu dot org
@ 2006-04-26 8:26 ` jakub at gcc dot gnu dot org
2006-04-26 8:29 ` jakub at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: jakub at gcc dot gnu dot org @ 2006-04-26 8:26 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from jakub at gcc dot gnu dot org 2006-04-26 08:26 -------
Subject: Bug 26171
Author: jakub
Date: Wed Apr 26 08:26:06 2006
New Revision: 113271
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113271
Log:
PR c/26171
* cgraph.c (cgraph_varpool_finalize_decl): Don't call
cgraph_varpool_assemble_pending_decls if -fopenmp, unless
cgraph_global_info_ready.
* testsuite/libgomp.c/pr26171.c: New test.
Added:
trunk/libgomp/testsuite/libgomp.c/pr26171.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/cgraph.c
trunk/libgomp/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26171
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c/26171] #pragma omp threadprivate requires -funit-at-a-time
2006-02-08 10:47 [Bug middle-end/26171] New: #pragma omp threadprivate requires -funit-at-at-time ebotcazou at gcc dot gnu dot org
` (2 preceding siblings ...)
2006-04-26 8:26 ` jakub at gcc dot gnu dot org
@ 2006-04-26 8:29 ` jakub at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: jakub at gcc dot gnu dot org @ 2006-04-26 8:29 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from jakub at gcc dot gnu dot org 2006-04-26 08:29 -------
Fixed in SVN.
--
jakub at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26171
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2006-04-26 8:29 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-02-08 10:47 [Bug middle-end/26171] New: #pragma omp threadprivate requires -funit-at-at-time ebotcazou at gcc dot gnu dot org
2006-02-22 15:10 ` [Bug c/26171] #pragma omp threadprivate requires -funit-at-a-time reichelt at gcc dot gnu dot org
2006-04-19 8:34 ` jakub at gcc dot gnu dot org
2006-04-26 8:26 ` jakub at gcc dot gnu dot org
2006-04-26 8:29 ` jakub at gcc dot gnu dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).