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

eedelman@gcc.gnu.org eedelman@gcc.gnu.org
Sat Aug 19 21:06:00 GMT 2006


Author: eedelman
Date: Sat Aug 19 21:05:59 2006
New Revision: 116261

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116261
Log:
fortran/
2006-08-19  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-19  Erik Edelmann  <eedelman@gcc.gnu.org>

        PR fortran/25217
        * gfortran.dg/derived_init_2.f90: New.


Added:
    trunk/gcc/testsuite/gfortran.dg/derived_init_2.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/resolve.c
    trunk/gcc/fortran/trans-expr.c
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list