This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/35439] ICE using threadprivate for broken variable
- From: "jakub at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Mar 2008 20:53:13 -0000
- Subject: [Bug c/35439] ICE using threadprivate for broken variable
- References: <bug-35439-1771@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from jakub at gcc dot gnu dot org 2008-03-10 20:53 -------
Subject: Bug 35439
Author: jakub
Date: Mon Mar 10 20:52:28 2008
New Revision: 133089
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133089
Log:
PR c/35438
PR c/35439
* c-parser.c (c_parser_omp_threadprivate): Don't add vars with
errorneous type. Check that v is a VAR_DECL.
* gcc.dg/gomp/pr35438.c: New test.
* gcc.dg/gomp/pr35439.c: New test.
Added:
branches/gcc-4_3-branch/gcc/testsuite/gcc.dg/gomp/pr35438.c
branches/gcc-4_3-branch/gcc/testsuite/gcc.dg/gomp/pr35439.c
Modified:
branches/gcc-4_3-branch/gcc/ChangeLog
branches/gcc-4_3-branch/gcc/c-parser.c
branches/gcc-4_3-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35439