r141497 - in /trunk/gcc: fortran/ChangeLog fort...
mikael@gcc.gnu.org
mikael@gcc.gnu.org
Fri Oct 31 15:56:00 GMT 2008
Author: mikael
Date: Fri Oct 31 15:56:21 2008
New Revision: 141497
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=141497
Log:
2008-10-31 Mikael Morin <mikael.morin@tele2.fr>
PR fortran/35840
* expr.c (gfc_reduce_init_expr): New function, containing checking code
from gfc_match_init_expr, so that checking can be deferred.
(gfc_match_init_expr): Use gfc_reduce_init_expr.
* io.c (check_io_constraints): Use gfc_reduce_init_expr instead of
checking that the expression is a constant.
* match.h (gfc_reduce_init_expr): Prototype added.
2008-10-31 Mikael Morin <mikael.morin@tele2.fr>
PR fortran/35840
* gfortran.dg/write_check4.f90: New test.
Added:
trunk/gcc/testsuite/gfortran.dg/write_check4.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/expr.c
trunk/gcc/fortran/io.c
trunk/gcc/fortran/match.h
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-cvs
mailing list