]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR fortran/44945 (Wrong decl for module vars / FAIL: gfortran.dg/char_array_struct...
authorTobias Burnus <burnus@net-b.de>
Fri, 23 Jul 2010 20:13:07 +0000 (22:13 +0200)
committerTobias Burnus <burnus@gcc.gnu.org>
Fri, 23 Jul 2010 20:13:07 +0000 (22:13 +0200)
commit43afc04731d5549c01edbef81a65959565168ba5
tree3f39d7ddcebd9dfbe34d03ae5000327341777035
parent48a32c49568d0f93edb0a904f5ac871e4e44c091
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
gcc/fortran/ChangeLog
gcc/fortran/trans-decl.c
gcc/fortran/trans-types.c
gcc/fortran/trans-types.h
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/char_array_structure_constructor.f90