This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/29955] ICE with -fopenmp -fexceptions
- 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: 24 Nov 2006 21:29:32 -0000
- Subject: [Bug c/29955] ICE with -fopenmp -fexceptions
- References: <bug-29955-87@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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