2006-05-02 Paul Thomas <pault@gcc.gnu.org>
commit872526115d88f06d87789db91fc77831e3c271ea
authorsayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 2 May 2006 14:13:17 +0000 (2 14:13 +0000)
committersayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 2 May 2006 14:13:17 +0000 (2 14:13 +0000)
tree5e8905912be5f73f8c12dcef22be42404b8d7168
parent5a368178a9ec50280d159c1b89b9af481357a9de
2006-05-02 Paul Thomas <pault@gcc.gnu.org>

        PR fortran/27269
        * module.c: Add static flag in_load_equiv.
        (mio_expr_ref): Return if no symtree and in_load_equiv.
        (load_equiv): If any of the equivalence members have no symtree, free
        the equivalence and the associated expressions.

        PR fortran/27324
        * trans-common.c (gfc_trans_common): Invert the order of calls to
        finish equivalences and gfc_commit_symbols.

        PR fortran/27269
        PR fortran/27324
        * gfortran.dg/module_equivalence_2.f90: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113465 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog
gcc/fortran/module.c
gcc/fortran/trans-common.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/module_equivalence_2.f90 [new file with mode: 0644]