This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/32778] New: pedantic warning: intrinsics that are GNU extensions not part of -std=gnu
- From: "dfranke at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Jul 2007 14:29:25 -0000
- Subject: [Bug fortran/32778] New: pedantic warning: intrinsics that are GNU extensions not part of -std=gnu
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
$> 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