r116262 - in /branches/gcc-4_1-branch/gcc: fort...
eedelman@gcc.gnu.org
eedelman@gcc.gnu.org
Sat Aug 19 21:31:00 GMT 2006
Author: eedelman
Date: Sat Aug 19 21:31:47 2006
New Revision: 116262
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116262
Log:
fortran/
2006-08-20 Erik Edelmann <eedelman@gcc.gnu.org>
PR fortran/25217
* resolve.c (resolve_fl_variable): Set a default initializer for
derived types with INTENT(OUT) even if 'flag' is true.
* trans-expr.c (gfc_conv_function_call): Insert code to
reinitialize INTENT(OUT) arguments of derived type with default
initializers.
testsuite/
2006-08-20 Erik Edelmann <eedelman@gcc.gnu.org>
PR fortran/25217
* gfortran.dg/derived_init_2.f90: New.
Added:
branches/gcc-4_1-branch/gcc/testsuite/gfortran.dg/derived_init_2.f90
Modified:
branches/gcc-4_1-branch/gcc/fortran/ChangeLog
branches/gcc-4_1-branch/gcc/fortran/resolve.c
branches/gcc-4_1-branch/gcc/fortran/trans-expr.c
branches/gcc-4_1-branch/gcc/testsuite/ChangeLog
More information about the Gcc-cvs
mailing list