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/36556] New: OpenMP: incorrect 'not specified in enclosing parallel'


An incorrect error message is generated when a #pragma omp for
firstprivate(var) is enclosed in an #pragma omp parallel -- region and the
'var' is not specified on that pragma. Example in specs explicitly states this
is OK.

D.c: In function âtestâ:
D.c:23: error: âsâ not specified in enclosing parallel
D.c:15: error: enclosing parallel


-- 
           Summary: OpenMP: incorrect 'not specified in enclosing parallel'
           Product: gcc
           Version: 4.3.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: david dot mcnamara at crescentbaysoftware dot com
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


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


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