This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/26171] #pragma omp threadprivate requires -funit-at-a-time
- From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Feb 2006 15:10:22 -0000
- Subject: [Bug c/26171] #pragma omp threadprivate requires -funit-at-a-time
- References: <bug-26171-226@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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