[Bug c/35438] ICE with invalid use of threadprivate
jakub at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Mar 10 20:54:00 GMT 2008
------- Comment #3 from jakub at gcc dot gnu dot org 2008-03-10 20:53 -------
Subject: Bug 35438
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=35438
More information about the Gcc-bugs
mailing list