http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45823
Thomas Henlich <thenlich at users dot sourceforge.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |thenlich at users dot
| |sourceforge.net
--- Comment #1 from Thomas Henlich <thenlich at users dot sourceforge.net>
2011-05-12 09:40:37 UTC ---
Here is another example. The warning appears even if there are no calls to to
compiler_options() or compiler_version().
This bug basically makes the option -Wsurprising useless in combination with
iso_fortran_env.
test_mod.f90:
module test_mod
use iso_fortran_env
end module test_mod
test.f90:
use test_mod
end
>gcc -c test_mod.f90
>gfortran -c -Wsurprising test.f90
test.f90:1.12:
use test_mod
1
Warning: Type specified for intrinsic function 'compiler_options' at (1) is
ignored
test.f90:1.12:
use test_mod
1
Warning: Type specified for intrinsic function 'compiler_version' at (1) is
ignored