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

reichelt at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Nov 1 14:41:00 GMT 2005


When the C++ parser encounters a "#pragma omp section" without enclosing
"#pragma omp sections" it crashes, like on the following one-liner:

======================
#pragma omp section
======================

bug1.cc:1: internal compiler error: in cp_parser_pragma, at cp/parser.c:18791
Please submit a full bug report, [etc.]

The same happens inside functions.
The C frontend is ot affected.


-- 
           Summary: [gomp] ICE on unexpected #pragma omp section
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Keywords: ice-on-invalid-code, openmp
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: reichelt at gcc dot gnu dot org


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



More information about the Gcc-bugs mailing list