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
* [Bug fortran/32778] pedantic warning: intrinsics that are GNU extensions not part of -std=gnu 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 ` 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 2 siblings, 0 replies; 4+ messages in thread From: patchapp at dberlin dot org @ 2007-07-21 17:50 UTC (permalink / raw) To: gcc-bugs ------- Comment #1 from patchapp at dberlin dot org 2007-07-21 17:50 ------- Subject: Bug number PR32778 A patch for this bug has been added to the patch tracker. The mailing list url for the patch is http://gcc.gnu.org/ml/gcc-patches/2007-07/msg01625.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32778 ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug fortran/32778] pedantic warning: intrinsics that are GNU extensions not part of -std=gnu 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 2 siblings, 0 replies; 4+ messages in thread From: dfranke at gcc dot gnu dot org @ 2007-07-24 16:45 UTC (permalink / raw) To: gcc-bugs ------- Comment #2 from dfranke at gcc dot gnu dot org 2007-07-24 16:45 ------- Subject: Bug 32778 Author: dfranke Date: Tue Jul 24 16:45:32 2007 New Revision: 126881 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=126881 Log: gcc/fortran: 2007-07-24 Daniel Franke <franke.daniel@gmail.com> PR fortran/32778 * intrinsic.c (add_sym): Do not exclude any symbols, even if not part of the selected standard. (make generic): Likewise. (make alias): Likewise, set standard the alias belongs to. (add_subroutines): Call make_noreturn unconditionally. (check_intrinsic_standard): Change return value to try. (gfc_intrinsic_func_interface): Check return value of above function. (gfc_intrinsic_sub_interface): Likewise. gcc/testsuite: 2007-07-24 Daniel Franke <franke.daniel@gmail.com> PR fortran/32778 * gfortran.dg/imag_2.f: Removed * gfortran.dg/warn_std_1.f90: New test. * gfortran.dg/warn_std_2.f90: New test. * gfortran.dg/warn_std_3.f90: New test. Added: trunk/gcc/testsuite/gfortran.dg/warn_std_1.f90 trunk/gcc/testsuite/gfortran.dg/warn_std_2.f90 trunk/gcc/testsuite/gfortran.dg/warn_std_3.f90 Removed: trunk/gcc/testsuite/gfortran.dg/imag_2.f Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/intrinsic.c trunk/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32778 ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug fortran/32778] pedantic warning: intrinsics that are GNU extensions not part of -std=gnu 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 2 siblings, 0 replies; 4+ messages in thread From: dfranke at gcc dot gnu dot org @ 2007-07-24 16:49 UTC (permalink / raw) To: gcc-bugs ------- Comment #3 from dfranke at gcc dot gnu dot org 2007-07-24 16:49 ------- Closing as fixed. -- dfranke at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED Target Milestone|--- |4.3.0 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).