This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/24613] [gomp] ICE on unexpected #pragma omp section
- 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: 2 Nov 2005 13:59:06 -0000
- Subject: [Bug c++/24613] [gomp] ICE on unexpected #pragma omp section
- References: <bug-24613-1771@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from jakub at gcc dot gnu dot org 2005-11-02 13:59 -------
Subject: Bug 24613
Author: jakub
Date: Wed Nov 2 13:59:00 2005
New Revision: 106383
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=106383
Log:
PR c++/24613
* c-parser.c (c_parser_pragma): Diagnose PRAGMA_OMP_SECTION outside
of PRAGMA_OMP_SECTIONS construct.
cp/
* parser.c (cp_parser_pragma): Diagnose PRAGMA_OMP_SECTION outside
of PRAGMA_OMP_SECTIONS construct.
testsuite/
* gcc.dg/gomp/sections-4.c: New test.
* g++.dg/gomp/sections-4.C: New test.
Added:
branches/gomp-20050608-branch/gcc/testsuite/g++.dg/gomp/sections-4.C
branches/gomp-20050608-branch/gcc/testsuite/gcc.dg/gomp/sections-4.c
Modified:
branches/gomp-20050608-branch/gcc/ChangeLog.gomp
branches/gomp-20050608-branch/gcc/c-parser.c
branches/gomp-20050608-branch/gcc/cp/ChangeLog.gomp
branches/gomp-20050608-branch/gcc/cp/parser.c
branches/gomp-20050608-branch/gcc/testsuite/ChangeLog.gomp
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24613