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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116261 138bc75d-0d04-0410-961f-82ee72b054a4
Showing
- gcc/fortran/ChangeLog 9 additions, 0 deletionsgcc/fortran/ChangeLog
- gcc/fortran/resolve.c 2 additions, 2 deletionsgcc/fortran/resolve.c
- gcc/fortran/trans-expr.c 10 additions, 0 deletionsgcc/fortran/trans-expr.c
- gcc/testsuite/ChangeLog 5 additions, 0 deletionsgcc/testsuite/ChangeLog
- gcc/testsuite/gfortran.dg/derived_init_2.f90 38 additions, 0 deletionsgcc/testsuite/gfortran.dg/derived_init_2.f90
Loading
Please register or sign in to comment