http://www.openmp.org/mp-documents/spec30.pdf "Version 3.0 May 2008"

"2.2 Conditional Compilation"
"In implementations that support a preprocessor, the _OPENMP macro name is
defined to have the decimal value yyyymm where yyyy and mm are the year and
month designations of the version of the OpenMP API that the implementation
supports."

Currently, GCC 4.4 returns "200505" (as do GCC 4.2 and 4.3):
#define _OPENMP 200505

Expected:   #define _OPENMP 200805  (-8- not -5-)


-- 
           Summary: OpenMP 3:  _OPENMP should be 200805 instead of 200505
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Keywords: openmp
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: burnus at gcc dot gnu dot org


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

Reply via email to