[Bug fortran/40881] [F03] warn for obsolescent features
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40881 Dominique d'Humieres changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|--- |FIXED --- Comment #14 from Dominique d'Humieres --- > IMO it does not make sense to warn for fixed form. Any objection to close > this PR as FIXED? No feedback, closing as FIXED.
[Bug fortran/40881] [F03] warn for obsolescent features
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40881 Dominique d'Humieres changed: What|Removed |Added Status|NEW |WAITING Blocks||20585 --- Comment #13 from Dominique d'Humieres --- > I'm not really sure if it makes sense to add a warning for fixed source, > but I'm leaving this PR open, in case someone will consider it in the future. IMO it does not make sense to warn for fixed form. Any objection to close this PR as FIXED? Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=20585 [Bug 20585] [meta-bug] Fortran 2003 support
[Bug fortran/40881] [F03] warn for obsolescent features
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40881 --- Comment #11 from janus at gcc dot gnu.org 2013-04-04 19:23:26 UTC --- http://gcc.gnu.org/viewcvs/gcc?view=revisionrevision=197495 2013-04-04 Janus Weil ja...@gcc.gnu.org PR fortran/40881 * match.c (gfc_match_return): Remove standard notification. * primary.c (gfc_match_actual_arglist): Add standard notification. 2013-04-04 Janus Weil ja...@gcc.gnu.org PR fortran/40881 * gfortran.dg/altreturn_1.f90: Add -std=gnu. * gfortran.dg/altreturn_4.f90: Ditto. * gfortran.dg/altreturn_3.f90: Replace -std=legacy by -std=gnu. * gfortran.dg/altreturn_5.f90: Ditto. * gfortran.dg/altreturn_6.f90: Ditto. * gfortran.dg/altreturn_7.f90: Ditto.
[Bug fortran/40881] [F03] warn for obsolescent features
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40881 janus at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|NEW AssignedTo|janus at gcc dot gnu.org|unassigned at gcc dot ||gnu.org --- Comment #12 from janus at gcc dot gnu.org 2013-04-04 19:28:48 UTC --- (In reply to comment #9) I think the only missing item is the following: (8) Fixed form source (I think one should consider to add some flag to silence the fixed-form warning. At least I know a lot of code, which is in fixed form but otherwise warning free.) I'm not really sure if it makes sense to add a warning for fixed source, but I'm leaving this PR open, in case someone will consider it in the future. For now, I certainly do not plan to work on it, therefore I'll unassign myself.
[Bug fortran/40881] [F03] warn for obsolescent features
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40881 --- Comment #10 from janus at gcc dot gnu.org 2013-04-03 07:53:11 UTC --- http://gcc.gnu.org/viewcvs/gcc?view=revisionrevision=197389 2013-04-03 Janus Weil ja...@gcc.gnu.org PR fortran/56284 PR fortran/40881 * decl.c (gfc_match_formal_arglist): Warn about alternate-return arguments. * interface.c (check_dummy_characteristics): Return if symbols are NULL. 2013-04-03 Janus Weil ja...@gcc.gnu.org PR fortran/56284 PR fortran/40881 * gfortran.dg/altreturn_8.f90: New. * gfortran.dg/altreturn_2.f90: Add -std=legacy. * gfortran.dg/intrinsic_actual_3.f90: Ditto. * gfortran.dg/invalid_interface_assignment.f90: Ditto. (This adds additional warnings about alternate-return cases that were not caught previously.)