[Bug fortran/32778] New: pedantic warning: intrinsics that are GNU extensions not part of -std=gnu
dfranke at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Jul 16 14:29:00 GMT 2007
$> cat pedantic.f90
CALL flush()
End
$> gfortran-svn -Wnonstd-intrinsics -std=gnu pedantic.f90
[no warning]
$> gfortran-svn -Wnonstd-intrinsics -pedantic -std=gnu pedantic.f90
pedantic.f90:1.12:
CALL flush()
1
Warning: Intrinsic 'flush' at (1) is not included in the selected standard
Contrary, here an error would be appropiate:
$> gfortran-svn -Wnonstd-intrinsics -pedantic -std=f95 pedantic.f90
/tmp/ccCdCRKV.o: In function `MAIN__':
pedantic.f90:(.text+0x1b): undefined reference to `flush_'
collect2: ld returned 1 exit status
--
Summary: pedantic warning: intrinsics that are GNU extensions not
part of -std=gnu
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Keywords: diagnostic
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: dfranke at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32778
More information about the Gcc-bugs
mailing list