[Bug c++/24613] [gomp] ICE on unexpected #pragma omp section

2005-11-02 Thread jakub at gcc dot gnu dot org


-- 

jakub at gcc dot gnu dot org changed:

   What|Removed |Added

 AssignedTo|unassigned at gcc dot gnu   |jakub at gcc dot gnu dot org
   |dot org |
 Status|UNCONFIRMED |ASSIGNED
 Ever Confirmed|0   |1
   Last reconfirmed|-00-00 00:00:00 |2005-11-02 08:57:28
   date||


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24613



[Bug c++/24613] [gomp] ICE on unexpected #pragma omp section

2005-11-02 Thread jakub 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=gccview=revrev=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



[Bug c++/24613] [gomp] ICE on unexpected #pragma omp section

2005-11-02 Thread jakub at gcc dot gnu dot org


--- Comment #2 from jakub at gcc dot gnu dot org  2005-11-02 14:03 ---
Fixed on the branch.


-- 

jakub at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24613