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

  • [Bug c/36556] New: Open... david dot mcnamara at crescentbaysoftware dot com

Reply via email to