public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/32778]  New: pedantic warning: intrinsics that are GNU extensions not part of -std=gnu
@ 2007-07-16 14:29 dfranke at gcc dot gnu dot org
  2007-07-21 17:50 ` [Bug fortran/32778] " patchapp at dberlin dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: dfranke at gcc dot gnu dot org @ 2007-07-16 14:29 UTC (permalink / raw)
  To: gcc-bugs

$> 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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-07-24 16:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-07-16 14:29 [Bug fortran/32778] New: pedantic warning: intrinsics that are GNU extensions not part of -std=gnu dfranke at gcc dot gnu dot org
2007-07-21 17:50 ` [Bug fortran/32778] " patchapp at dberlin dot org
2007-07-24 16:45 ` dfranke at gcc dot gnu dot org
2007-07-24 16:49 ` dfranke at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).