This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/53249] [4.8 Regression] Bootstrap failure
- From: "hjl.tools at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 06 May 2012 14:28:55 +0000
- Subject: [Bug bootstrap/53249] [4.8 Regression] Bootstrap failure
- Auto-submitted: auto-generated
- References: <bug-53249-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53249
--- Comment #4 from H.J. Lu <hjl.tools at gmail dot com> 2012-05-06 14:28:55 UTC ---
A small testcase:
[hjl@gnu-6 pr53249]$ cat x.i
struct gomp_task
{
struct gomp_task *parent;
};
struct gomp_thread
{
int foo1;
struct gomp_task *task;
};
extern __thread struct gomp_thread gomp_tls_data;
void
__attribute__ ((noinline))
gomp_end_task (void)
{
struct gomp_thread *thr = &gomp_tls_data;
struct gomp_task *task = thr->task;
thr->task = task->parent;
}
[hjl@gnu-6 pr53249]$