http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45823
Summary: Bogus warning for intrinsic module procedures Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassig...@gcc.gnu.org ReportedBy: bur...@gcc.gnu.org Follow up to PR 40569. The following program prints with -Wall: use iso_Fortran_env 1 Warning: Type specified for intrinsic function 'compiler_options' at (1) is ignored use iso_Fortran_env 1 Warning: Type specified for intrinsic function 'compiler_version' at (1) is ignored For some reason, c_sizeof is not affected. use iso_c_binding use iso_Fortran_env implicit none intrinsic sin real :: x = 3.4 print *, sin(x), c_sizeof(c_int), compiler_options(), compiler_version() end