------- Comment #3 from tobi at gcc dot gnu dot org 2007-10-07 11:45 ------- Subject: Bug 20851
Author: tobi Date: Sun Oct 7 11:45:15 2007 New Revision: 129069 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=129069 Log: PR fortran/20851 fortran/ * expr.c (check_inquiry): Typo fix in error message. (check_init_expr): Same * 3. (check_restricted): Verify that no dummy arguments appear in restricted expressions in ELEMENTAL procedures. * resolve.c (resolve_fl_variable): Exchange order of checks to avoid side-effect. testsuite/ * initialization_1.f90: Fix dg-error annotations. * initialization_14.f90: New. * initialization_7.f90: Fix dg-error annotations. * initialization_9.f90: Likewise. Added: trunk/gcc/testsuite/gfortran.dg/initialization_14.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/expr.c trunk/gcc/fortran/resolve.c trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gfortran.dg/initialization_1.f90 trunk/gcc/testsuite/gfortran.dg/initialization_7.f90 trunk/gcc/testsuite/gfortran.dg/initialization_9.f90 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20851