[Bug c/29955] ICE with -fopenmp -fexceptions
jakub at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Nov 24 21:29:00 GMT 2006
------- Comment #2 from jakub at gcc dot gnu dot org 2006-11-24 21:29 -------
Subject: Bug 29955
Author: jakub
Date: Fri Nov 24 21:29:13 2006
New Revision: 119169
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=119169
Log:
PR c/29955
* c-tree.h (c_maybe_initialize_eh): New prototype.
* c-decl.c (finish_decl): Move EH initialization...
(c_maybe_initialize_eh): ... here. New function.
* c-parser.c (c_parser_omp_construct): Call c_maybe_initialize_eh
if not #pragma omp atomic.
* gcc.dg/gomp/pr29955.c: New test.
Added:
branches/gcc-4_2-branch/gcc/testsuite/gcc.dg/gomp/pr29955.c
Modified:
branches/gcc-4_2-branch/gcc/ChangeLog
branches/gcc-4_2-branch/gcc/c-decl.c
branches/gcc-4_2-branch/gcc/c-parser.c
branches/gcc-4_2-branch/gcc/c-tree.h
branches/gcc-4_2-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29955
More information about the Gcc-bugs
mailing list