re PR fortran/44945 (Wrong decl for module vars / FAIL:...
re PR fortran/44945 (Wrong decl for module vars / FAIL: gfortran.dg/char_array_structure_constructor.f90) 2010-07-23 Tobias Burnus <burnus@net-b.de> PR fortran/44945 * trans-decl.c (gfc_get_symbol_decl): Use module decl with -fwhole-file also for derived types. * trans-types.c (copy_dt_decls_ifequal): Remove static and rename to gfc_copy_dt_decls_ifequal. (gfc_get_derived_type): Update call. * trans-types.h (gfc_copy_dt_decls_ifequal): Add prototype. 2010-07-23 Tobias Burnus <burnus@net-b.de> PR fortran/44945 * gfortran.dg/char_array_structure_constructor.f90: Add -fwhole-file as dg-option as it otherwise fails on some systems. From-SVN: r162487
Showing
- gcc/fortran/ChangeLog 10 additions, 0 deletionsgcc/fortran/ChangeLog
- gcc/fortran/trans-decl.c 4 additions, 3 deletionsgcc/fortran/trans-decl.c
- gcc/fortran/trans-types.c 5 additions, 5 deletionsgcc/fortran/trans-types.c
- gcc/fortran/trans-types.h 1 addition, 0 deletionsgcc/fortran/trans-types.h
- gcc/testsuite/ChangeLog 7 additions, 0 deletionsgcc/testsuite/ChangeLog
- gcc/testsuite/gfortran.dg/char_array_structure_constructor.f90 5 additions, 0 deletions...estsuite/gfortran.dg/char_array_structure_constructor.f90
Loading
Please register or sign in to comment