This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]