This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/42041] Missing defs in omp_lib.h
- From: "longb at cray dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Nov 2009 16:58:53 -0000
- Subject: [Bug fortran/42041] Missing defs in omp_lib.h
- References: <bug-42041-14710@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from longb at cray dot com 2009-11-16 16:58 -------
I posed this question to the Cray OpenMP committee member:
Jim @ ISU submitted a bug against gfortran noting that some parameters
defined in the omp_lib Fortran module are missing from the corresponding
omp_lib.h include file. The GNU guys are claiming that the difference
is intentional, and are right that in the 3.0 standard the 'missing'
declarations are only in the Example module in D3, and not in the
Example include file in D2. They are not mentioned in the normative
text in Chapter 3. Is this difference intentional? Or is it an
oversight in the standard? Could you add a Comment to Bug 753421?
Thanks.
And got this reply:
The differences between the omp_lib.h and omp_lib module are actually a bug in
the specification. I have an open issue in my name with the OpenMP Language
committee to submit a proposed fix for this. The solution will be to make the
types default to the size of a default integer. This change will be in the 3.1
specification due for release by SC10.
------
>From which I would conclude that this bug will come back again when the OpenMP
spec is corrected. Might be easier to just fix it now.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42041