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=revision&revision=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.)