r131047 - in /trunk/gcc: fortran/ChangeLog fort...

dfranke@gcc.gnu.org dfranke@gcc.gnu.org
Tue Dec 18 23:39:00 GMT 2007


Author: dfranke
Date: Tue Dec 18 23:39:56 2007
New Revision: 131047

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=131047
Log:
gcc/fortran:
2007-12-19  Daniel Franke  <franke.daniel@gmail.com>

        PR fortran/34495
        * expr.c (check_init_expr): Check whether variables with flavor
        FL_PARAMETER do have a value assigned. Added error messages where
        appropriate.
        * simplify.c (gfc_simplify_transfer): Added check if the MOLD
        argument is a constant if working with initialization
        expressions.

gcc/testsuite:
2007-12-19  Daniel Franke  <franke.daniel@gmail.com>

        PR fortran/34495
        * gfortran.dg/transfer_simplify_2.f90: Fixed invalid initialization
	expressions.
        * gfortran.dg/transfer_simplify_7.f90: New test.


Added:
    trunk/gcc/testsuite/gfortran.dg/transfer_simplify_7.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/expr.c
    trunk/gcc/fortran/simplify.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gfortran.dg/transfer_simplify_2.f90



More information about the Gcc-cvs mailing list