[Bug fortran/65079] -Werror= does not work on implicit-procedure warning

dominiq at lps dot ens.fr gcc-bugzilla@gcc.gnu.org
Mon Feb 16 14:54:00 GMT 2015


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2015-02-16
     Ever confirmed|0                           |1

--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Confirmed on 4.9. It works with trunk (5.0).

pr65079.f90:6:22:

             call bim()
                      1
Error: Procedure 'bim' called at (1) is not explicitly declared
[-Werror=implicit-procedure]
pr65079.f90:11:12:

         use bar
            1
Fatal Error: Can't open module file 'bar.mod' for reading at (1): No such file
or directory
f951: some warnings being treated as errors
compilation terminated.

I doubt this will be back ported to 4.9.



More information about the Gcc-bugs mailing list