public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/41102]  New: openMP include file causes errors when compiling with standards checking
@ 2009-08-18 10:52 ian dot bush at nag dot co dot uk
  2009-08-18 14:59 ` [Bug fortran/41102] " burnus at gcc dot gnu dot org
                   ` (11 more replies)
  0 siblings, 12 replies; 17+ messages in thread
From: ian dot bush at nag dot co dot uk @ 2009-08-18 10:52 UTC (permalink / raw)
  To: gcc-bugs

Due to non-standard code in the supplied openMP header file omp_lib.h compiling
with standards checking on results in errors due to the include file and not
the users code:

Wot now ? uname -a
Linux kingswood.nag.co.uk 2.6.27.25-78.2.56.fc9.i686 #1 SMP Thu Jun 18 12:47:50
EDT 2009 i686 i686 i386 GNU/Linux
Wot now ? ~/Download/usr/local/gfortran/bin/gfortran --version
GNU Fortran (GCC) 4.5.0 20090817 (experimental) [trunk revision 150822]
Copyright (C) 2009 Free Software Foundation, Inc.

GNU Fortran comes with NO WARRANTY, to the extent permitted by law.
You may redistribute copies of GNU Fortran
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING

Wot now ? cat omp.f90
Program annoying

  Include 'omp_lib.h'

End Program annoying
Wot now ? ~/Download/usr/local/gfortran/bin/gfortran -fopenmp -std=f95 omp.f90
omp_lib.h:45.15:
    Included at omp.f90:3:

      logical*4 omp_get_dynamic, omp_get_nested
               1
Error: Nonstandard type declaration LOGICAL*4 at (1)
omp_lib.h:47.15:
    Included at omp.f90:3:

      logical*4 omp_test_lock, omp_in_parallel
               1
Error: Nonstandard type declaration LOGICAL*4 at (1)
omp_lib.h:50.15:
    Included at omp.f90:3:

      integer*4 omp_get_max_threads, omp_get_num_procs
               1
Error: Nonstandard type declaration INTEGER*4 at (1)
omp_lib.h:52.15:
    Included at omp.f90:3:

      integer*4 omp_get_num_threads, omp_get_thread_num
               1
Error: Nonstandard type declaration INTEGER*4 at (1)
omp_lib.h:54.15:
    Included at omp.f90:3:

      integer*4 omp_test_nest_lock
               1
Error: Nonstandard type declaration INTEGER*4 at (1)
omp_lib.h:64.15:
    Included at omp.f90:3:

      integer*4 omp_get_thread_limit, omp_get_max_active_levels
               1
Error: Nonstandard type declaration INTEGER*4 at (1)
omp_lib.h:65.15:
    Included at omp.f90:3:

      integer*4 omp_get_level, omp_get_ancestor_thread_num
               1
Error: Nonstandard type declaration INTEGER*4 at (1)
omp_lib.h:66.15:
    Included at omp.f90:3:

      integer*4 omp_get_team_size, omp_get_active_level
               1
Error: Nonstandard type declaration INTEGER*4 at (1)
Wot now ? 


The nett result is it is difficult to check for non-standard code in programs
that include omp_lib.h, which is irritating if portability is extremly
important to you. ( Yes, I know there is a work around by using the module
rather than including the file, but both should work ! )

Actually this is a more general problem as MPI include files often have similar
non-standard code, with the same resulting irritation. What would be nice is
some way to say that you wish to ignore all problems caused by a given set of
include files. However it would also be nice to fix the include file !


-- 
           Summary: openMP include file causes errors when compiling with
                    standards checking
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ian dot bush at nag dot co dot uk


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


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug fortran/41102] openMP include file causes errors when compiling with standards checking
  2009-08-18 10:52 [Bug fortran/41102] New: openMP include file causes errors when compiling with standards checking ian dot bush at nag dot co dot uk
@ 2009-08-18 14:59 ` burnus at gcc dot gnu dot org
  2009-08-18 15:00 ` burnus at gcc dot gnu dot org
                   ` (10 subsequent siblings)
  11 siblings, 0 replies; 17+ messages in thread
From: burnus at gcc dot gnu dot org @ 2009-08-18 14:59 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from burnus at gcc dot gnu dot org  2009-08-18 14:59 -------
Confirmed.

Patch for the include file:

--- libgomp/omp_lib.h.in        (revision 150873)
+++ libgomp/omp_lib.h.in        (working copy)
@@ -45 +45 @@
-      logical*4 omp_get_dynamic, omp_get_nested
+      logical(4) omp_get_dynamic, omp_get_nested
@@ -47 +47 @@
-      logical*4 omp_test_lock, omp_in_parallel
+      logical(4) omp_test_lock, omp_in_parallel
@@ -50 +50 @@
-      integer*4 omp_get_max_threads, omp_get_num_procs
+      integer(4) omp_get_max_threads, omp_get_num_procs
@@ -52 +52 @@
-      integer*4 omp_get_num_threads, omp_get_thread_num
+      integer(4) omp_get_num_threads, omp_get_thread_num
@@ -54 +54 @@
-      integer*4 omp_test_nest_lock
+      integer(4) omp_test_nest_lock
@@ -64,3 +64,3 @@
-      integer*4 omp_get_thread_limit, omp_get_max_active_levels
-      integer*4 omp_get_level, omp_get_ancestor_thread_num
-      integer*4 omp_get_team_size, omp_get_active_level
+      integer(4) omp_get_thread_limit, omp_get_max_active_levels
+      integer(4) omp_get_level, omp_get_ancestor_thread_num
+      integer(4) omp_get_team_size, omp_get_active_level


-- 

burnus at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |burnus at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
           Keywords|                            |openmp
   Last reconfirmed|0000-00-00 00:00:00         |2009-08-18 14:59:30
               date|                            |


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


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug fortran/41102] openMP include file causes errors when compiling with standards checking
  2009-08-18 10:52 [Bug fortran/41102] New: openMP include file causes errors when compiling with standards checking ian dot bush at nag dot co dot uk
  2009-08-18 14:59 ` [Bug fortran/41102] " burnus at gcc dot gnu dot org
@ 2009-08-18 15:00 ` burnus at gcc dot gnu dot org
  2009-08-18 15:58 ` joseph at codesourcery dot com
                   ` (9 subsequent siblings)
  11 siblings, 0 replies; 17+ messages in thread
From: burnus at gcc dot gnu dot org @ 2009-08-18 15:00 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from burnus at gcc dot gnu dot org  2009-08-18 15:00 -------
*** Bug 41099 has been marked as a duplicate of this bug. ***


-- 


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


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug fortran/41102] openMP include file causes errors when compiling with standards checking
  2009-08-18 10:52 [Bug fortran/41102] New: openMP include file causes errors when compiling with standards checking ian dot bush at nag dot co dot uk
  2009-08-18 14:59 ` [Bug fortran/41102] " burnus at gcc dot gnu dot org
  2009-08-18 15:00 ` burnus at gcc dot gnu dot org
@ 2009-08-18 15:58 ` joseph at codesourcery dot com
  2009-08-18 16:09 ` burnus at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  11 siblings, 0 replies; 17+ messages in thread
From: joseph at codesourcery dot com @ 2009-08-18 15:58 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from joseph at codesourcery dot com  2009-08-18 15:58 -------
Subject: Re:   New: openMP include file causes errors when
 compiling with standards checking

On Tue, 18 Aug 2009, ian dot bush at nag dot co dot uk wrote:

> Due to non-standard code in the supplied openMP header file omp_lib.h compiling
> with standards checking on results in errors due to the include file and not
> the users code:

For C and C++, most diagnostics are disabled by default for code in system 
headers.  Shouldn't Fortran do something equivalent?


-- 


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


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug fortran/41102] openMP include file causes errors when compiling with standards checking
  2009-08-18 10:52 [Bug fortran/41102] New: openMP include file causes errors when compiling with standards checking ian dot bush at nag dot co dot uk
                   ` (2 preceding siblings ...)
  2009-08-18 15:58 ` joseph at codesourcery dot com
@ 2009-08-18 16:09 ` burnus at gcc dot gnu dot org
  2009-08-18 16:46 ` ian dot bush at nag dot co dot uk
                   ` (7 subsequent siblings)
  11 siblings, 0 replies; 17+ messages in thread
From: burnus at gcc dot gnu dot org @ 2009-08-18 16:09 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from burnus at gcc dot gnu dot org  2009-08-18 16:08 -------
(In reply to comment #3)
> For C and C++, most diagnostics are disabled by default for code in system 
> headers.  Shouldn't Fortran do something equivalent?

Good question. The problem is that with

  include "somebig_chunk_of_code.f90"

one can include other code, which does not necessarily contain just PARAMETERs
(constants) and COMMONs but actual code. For instance octopus (tddft.org) does
this: It has a MODULE and includes one or two other files in it, which contain
subroutines/functions belonging to the  MODULE but are for maintenance reasons
in a separate file. (Fortran 2008's submodules would be a better replacement.)


-- 


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


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug fortran/41102] openMP include file causes errors when compiling with standards checking
  2009-08-18 10:52 [Bug fortran/41102] New: openMP include file causes errors when compiling with standards checking ian dot bush at nag dot co dot uk
                   ` (3 preceding siblings ...)
  2009-08-18 16:09 ` burnus at gcc dot gnu dot org
@ 2009-08-18 16:46 ` ian dot bush at nag dot co dot uk
  2009-08-18 16:52 ` joseph at codesourcery dot com
                   ` (6 subsequent siblings)
  11 siblings, 0 replies; 17+ messages in thread
From: ian dot bush at nag dot co dot uk @ 2009-08-18 16:46 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from ian dot bush at nag dot co dot uk  2009-08-18 16:46 -------
Subject: Re:  openMP include file causes errors when compiling
 with standards checking

burnus at gcc dot gnu dot org wrote:
> ------- Comment #4 from burnus at gcc dot gnu dot org  2009-08-18 16:08 -------
> (In reply to comment #3)
>> For C and C++, most diagnostics are disabled by default for code in system 
>> headers.  Shouldn't Fortran do something equivalent?
> 
> Good question. The problem is that with
> 
>   include "somebig_chunk_of_code.f90"
> 
> one can include other code, which does not necessarily contain just PARAMETERs
> (constants) and COMMONs but actual code. For instance octopus (tddft.org) does
> this: It has a MODULE and includes one or two other files in it, which contain
> subroutines/functions belonging to the  MODULE but are for maintenance reasons
> in a separate file. (Fortran 2008's submodules would be a better replacement.)
> 
> 

Also Fortran doesn't have the concept of system headers, so how should the
compiler decide what is a "system header" or not ? In some cases, like openMP
it's reasonably clear, but for third party software it's difficult. Hence my
suggestion in the original bug report to somehow allow the user to specify that
diagnostics from certain include files should be ignored.

Also thanks for fixing this so quickly, the joys of open source !! I've lodged
similar bug reports to Cray ( around 6 months ago ) and IBM ( around
6 years ago !! ) about their mpif.h files with absolutely no joy.

Also I hope I'm replying to the right place, I'm new around here ...

Ian


________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. 
________________________________________________________________________


-- 


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


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug fortran/41102] openMP include file causes errors when compiling with standards checking
  2009-08-18 10:52 [Bug fortran/41102] New: openMP include file causes errors when compiling with standards checking ian dot bush at nag dot co dot uk
                   ` (4 preceding siblings ...)
  2009-08-18 16:46 ` ian dot bush at nag dot co dot uk
@ 2009-08-18 16:52 ` joseph at codesourcery dot com
  2009-08-18 16:58 ` ian dot bush at nag dot co dot uk
                   ` (5 subsequent siblings)
  11 siblings, 0 replies; 17+ messages in thread
From: joseph at codesourcery dot com @ 2009-08-18 16:52 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from joseph at codesourcery dot com  2009-08-18 16:52 -------
Subject: Re:  openMP include file causes errors when
 compiling with standards checking

On Tue, 18 Aug 2009, ian dot bush at nag dot co dot uk wrote:

> Also Fortran doesn't have the concept of system headers, so how should the
> compiler decide what is a "system header" or not ? In some cases, like openMP
> it's reasonably clear, but for third party software it's difficult. Hence my
> suggestion in the original bug report to somehow allow the user to specify that
> diagnostics from certain include files should be ignored.

System headers are headers in system header directories: directories of 
headers provided by the system (not necessarily just those that come with 
GCC) and are searched by default.  In the present case, the file is 
installed by gcc in libsubdir/finclude, and I don't know what other system 
directories gfortran might search by default.


-- 


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


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug fortran/41102] openMP include file causes errors when compiling with standards checking
  2009-08-18 10:52 [Bug fortran/41102] New: openMP include file causes errors when compiling with standards checking ian dot bush at nag dot co dot uk
                   ` (5 preceding siblings ...)
  2009-08-18 16:52 ` joseph at codesourcery dot com
@ 2009-08-18 16:58 ` ian dot bush at nag dot co dot uk
  2009-08-19  6:38 ` burnus at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  11 siblings, 0 replies; 17+ messages in thread
From: ian dot bush at nag dot co dot uk @ 2009-08-18 16:58 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from ian dot bush at nag dot co dot uk  2009-08-18 16:58 -------
Subject: Re:  openMP include file causes errors when compiling
 with standards checking

joseph at codesourcery dot com wrote:
> ------- Comment #6 from joseph at codesourcery dot com  2009-08-18 16:52 -------
> Subject: Re:  openMP include file causes errors when
>  compiling with standards checking
> 
> On Tue, 18 Aug 2009, ian dot bush at nag dot co dot uk wrote:
> 
>> Also Fortran doesn't have the concept of system headers, so how should the
>> compiler decide what is a "system header" or not ? In some cases, like openMP
>> it's reasonably clear, but for third party software it's difficult. Hence my
>> suggestion in the original bug report to somehow allow the user to specify that
>> diagnostics from certain include files should be ignored.
> 
> System headers are headers in system header directories: directories of 
> headers provided by the system (not necessarily just those that come with 
> GCC) and are searched by default.  In the present case, the file is 
> installed by gcc in libsubdir/finclude, and I don't know what other system 
> directories gfortran might search by default.
> 
> 

OK, my misunderstanding on a piece of terminology. Thanks for educating me.

But still the option to say "please ignore diagnostics generated in this
header/include file" would be useful,

Ian


________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. 
________________________________________________________________________


-- 


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


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug fortran/41102] openMP include file causes errors when compiling with standards checking
  2009-08-18 10:52 [Bug fortran/41102] New: openMP include file causes errors when compiling with standards checking ian dot bush at nag dot co dot uk
                   ` (6 preceding siblings ...)
  2009-08-18 16:58 ` ian dot bush at nag dot co dot uk
@ 2009-08-19  6:38 ` burnus at gcc dot gnu dot org
  2009-08-19  7:01 ` burnus at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  11 siblings, 0 replies; 17+ messages in thread
From: burnus at gcc dot gnu dot org @ 2009-08-19  6:38 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from burnus at gcc dot gnu dot org  2009-08-19 06:38 -------
Subject: Bug 41102

Author: burnus
Date: Wed Aug 19 06:38:29 2009
New Revision: 150931

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=150931
Log:
2009-08-19  Tobias Burnus  <burnus@net-b.de>

        PR fortran/41102
        omp_lib.h.in: Fix -std=f95 errors.


Modified:
    trunk/libgomp/ChangeLog
    trunk/libgomp/omp_lib.h.in


-- 


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


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug fortran/41102] openMP include file causes errors when compiling with standards checking
  2009-08-18 10:52 [Bug fortran/41102] New: openMP include file causes errors when compiling with standards checking ian dot bush at nag dot co dot uk
                   ` (7 preceding siblings ...)
  2009-08-19  6:38 ` burnus at gcc dot gnu dot org
@ 2009-08-19  7:01 ` burnus at gcc dot gnu dot org
  2009-08-19  7:12 ` burnus at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  11 siblings, 0 replies; 17+ messages in thread
From: burnus at gcc dot gnu dot org @ 2009-08-19  7:01 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from burnus at gcc dot gnu dot org  2009-08-19 07:01 -------
Subject: Bug 41102

Author: burnus
Date: Wed Aug 19 07:01:03 2009
New Revision: 150932

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=150932
Log:
2009-08-19  Tobias Burnus  <burnus@net-b.de>

        PR fortran/41102
        omp_lib.h.in: Fix -std=f95 errors.


Modified:
    branches/gcc-4_3-branch/libgomp/ChangeLog
    branches/gcc-4_3-branch/libgomp/omp_lib.h.in


-- 


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


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug fortran/41102] openMP include file causes errors when compiling with standards checking
  2009-08-18 10:52 [Bug fortran/41102] New: openMP include file causes errors when compiling with standards checking ian dot bush at nag dot co dot uk
                   ` (8 preceding siblings ...)
  2009-08-19  7:01 ` burnus at gcc dot gnu dot org
@ 2009-08-19  7:12 ` burnus at gcc dot gnu dot org
  2009-08-19  7:14 ` [Bug fortran/41102] Ease error checking of included files located in the SYSTEM_INCLUDE_DIR/ending in .h burnus at gcc dot gnu dot org
  2010-05-06 21:40 ` dfranke at gcc dot gnu dot org
  11 siblings, 0 replies; 17+ messages in thread
From: burnus at gcc dot gnu dot org @ 2009-08-19  7:12 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #10 from burnus at gcc dot gnu dot org  2009-08-19 07:12 -------
Subject: Bug 41102

Author: burnus
Date: Wed Aug 19 07:11:43 2009
New Revision: 150933

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=150933
Log:
2009-08-19  Tobias Burnus  <burnus@net-b.de>

        PR fortran/41102
        omp_lib.h.in: Fix -std=f95 errors.


Modified:
    branches/gcc-4_4-branch/libgomp/ChangeLog
    branches/gcc-4_4-branch/libgomp/omp_lib.h.in


-- 


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


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug fortran/41102] Ease error checking of included files located in the SYSTEM_INCLUDE_DIR/ending in .h
  2009-08-18 10:52 [Bug fortran/41102] New: openMP include file causes errors when compiling with standards checking ian dot bush at nag dot co dot uk
                   ` (9 preceding siblings ...)
  2009-08-19  7:12 ` burnus at gcc dot gnu dot org
@ 2009-08-19  7:14 ` burnus at gcc dot gnu dot org
  2010-05-06 21:40 ` dfranke at gcc dot gnu dot org
  11 siblings, 0 replies; 17+ messages in thread
From: burnus at gcc dot gnu dot org @ 2009-08-19  7:14 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #11 from burnus at gcc dot gnu dot org  2009-08-19 07:14 -------
The lib_omp.h problem is FIXED on the trunk (4.5) and in the 4.3 and 4.4
branches.

I changed the title to the remaining "issue": Having (similarity to C/C++) a
less strict checking for files coming from the system directory
(SYSTEM_INCLUDE_DIR). I fear it won't help with MPI as on many systems "mpif90"
will pass the directory for mpi*.h via "-I" as it is not in
/usr/{,local/}include but, e.g., in /usr/lib64/mpi/gcc/openmpi/include, which
is difficult to distinguish from "-I subdir" (or "-I
/full/path/to/cwd/subdir").

One solution would be to treat ".h" differently from other extensions (such as
.f/.f90/.inc).


-- 

burnus at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|openmp                      |
            Summary|openMP include file causes  |Ease error checking of
                   |errors when compiling with  |included files located in
                   |standards checking          |the
                   |                            |SYSTEM_INCLUDE_DIR/ending in
                   |                            |.h


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


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug fortran/41102] Ease error checking of included files located in the SYSTEM_INCLUDE_DIR/ending in .h
  2009-08-18 10:52 [Bug fortran/41102] New: openMP include file causes errors when compiling with standards checking ian dot bush at nag dot co dot uk
                   ` (10 preceding siblings ...)
  2009-08-19  7:14 ` [Bug fortran/41102] Ease error checking of included files located in the SYSTEM_INCLUDE_DIR/ending in .h burnus at gcc dot gnu dot org
@ 2010-05-06 21:40 ` dfranke at gcc dot gnu dot org
  11 siblings, 0 replies; 17+ messages in thread
From: dfranke at gcc dot gnu dot org @ 2010-05-06 21:40 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #12 from dfranke at gcc dot gnu dot org  2010-05-06 21:40 -------
Related discussion: PR35707


-- 

dfranke at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dfranke at gcc dot gnu dot
                   |                            |org


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


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug fortran/41102] Ease error checking of included files located in the SYSTEM_INCLUDE_DIR/ending in .h
       [not found] <bug-41102-4@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2015-10-30 17:31 ` dr.i.j.bush at googlemail dot com
@ 2015-10-30 17:41 ` dominiq at lps dot ens.fr
  3 siblings, 0 replies; 17+ messages in thread
From: dominiq at lps dot ens.fr @ 2015-10-30 17:41 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41102

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|---                         |FIXED

--- Comment #16 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> I'm happy to close,
>
> Ian

Doing so!-)


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug fortran/41102] Ease error checking of included files located in the SYSTEM_INCLUDE_DIR/ending in .h
       [not found] <bug-41102-4@http.gcc.gnu.org/bugzilla/>
  2011-11-16 17:04 ` fwi at inducks dot org
  2015-10-30 17:27 ` dominiq at lps dot ens.fr
@ 2015-10-30 17:31 ` dr.i.j.bush at googlemail dot com
  2015-10-30 17:41 ` dominiq at lps dot ens.fr
  3 siblings, 0 replies; 17+ messages in thread
From: dr.i.j.bush at googlemail dot com @ 2015-10-30 17:31 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41102

--- Comment #15 from dr.i.j.bush at googlemail dot com ---
I'm happy to close,

Ian


On 30/10/2015, dominiq at lps dot ens.fr <gcc-bugzilla@gcc.gnu.org> wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41102
>
> Dominique d'Humieres <dominiq at lps dot ens.fr> changed:
>
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>              Status|NEW                         |WAITING
>
> --- Comment #14 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> Any point to keep this PR opened? The original issue has been fixed and
> it's
> likely that the include files will be fixed well before any progress will
> be
> made in gfortran.
>
> --
> You are receiving this mail because:
> You reported the bug.
>
> ________________________________________________________________________
> This e-mail has been scanned for all viruses by Star.
> ________________________________________________________________________
>


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug fortran/41102] Ease error checking of included files located in the SYSTEM_INCLUDE_DIR/ending in .h
       [not found] <bug-41102-4@http.gcc.gnu.org/bugzilla/>
  2011-11-16 17:04 ` fwi at inducks dot org
@ 2015-10-30 17:27 ` dominiq at lps dot ens.fr
  2015-10-30 17:31 ` dr.i.j.bush at googlemail dot com
  2015-10-30 17:41 ` dominiq at lps dot ens.fr
  3 siblings, 0 replies; 17+ messages in thread
From: dominiq at lps dot ens.fr @ 2015-10-30 17:27 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41102

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |WAITING

--- Comment #14 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Any point to keep this PR opened? The original issue has been fixed and it's
likely that the include files will be fixed well before any progress will be
made in gfortran.


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug fortran/41102] Ease error checking of included files located in the SYSTEM_INCLUDE_DIR/ending in .h
       [not found] <bug-41102-4@http.gcc.gnu.org/bugzilla/>
@ 2011-11-16 17:04 ` fwi at inducks dot org
  2015-10-30 17:27 ` dominiq at lps dot ens.fr
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 17+ messages in thread
From: fwi at inducks dot org @ 2011-11-16 17:04 UTC (permalink / raw)
  To: gcc-bugs

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

fwi at inducks dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fwi at inducks dot org

--- Comment #13 from fwi at inducks dot org 2011-11-16 16:54:44 UTC ---
For information, the same (however minor) issue appears with MPI (MPICH2), as
expected, with the -pedantic flag:

$ mpif90 -Wall -O3 -march=native -pedantic -cpp test.f90

Warning: Nonstandard type declaration REAL*8 at (1)
mpif.h:491.13:
    Included at test.f90:10:

       REAL*8 PMPI_WTIME, PMPI_WTICK

(lots of other similar harmless warnings not shown)


^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2015-10-30 17:41 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-18 10:52 [Bug fortran/41102] New: openMP include file causes errors when compiling with standards checking ian dot bush at nag dot co dot uk
2009-08-18 14:59 ` [Bug fortran/41102] " burnus at gcc dot gnu dot org
2009-08-18 15:00 ` burnus at gcc dot gnu dot org
2009-08-18 15:58 ` joseph at codesourcery dot com
2009-08-18 16:09 ` burnus at gcc dot gnu dot org
2009-08-18 16:46 ` ian dot bush at nag dot co dot uk
2009-08-18 16:52 ` joseph at codesourcery dot com
2009-08-18 16:58 ` ian dot bush at nag dot co dot uk
2009-08-19  6:38 ` burnus at gcc dot gnu dot org
2009-08-19  7:01 ` burnus at gcc dot gnu dot org
2009-08-19  7:12 ` burnus at gcc dot gnu dot org
2009-08-19  7:14 ` [Bug fortran/41102] Ease error checking of included files located in the SYSTEM_INCLUDE_DIR/ending in .h burnus at gcc dot gnu dot org
2010-05-06 21:40 ` dfranke at gcc dot gnu dot org
     [not found] <bug-41102-4@http.gcc.gnu.org/bugzilla/>
2011-11-16 17:04 ` fwi at inducks dot org
2015-10-30 17:27 ` dominiq at lps dot ens.fr
2015-10-30 17:31 ` dr.i.j.bush at googlemail dot com
2015-10-30 17:41 ` dominiq at lps dot ens.fr

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).