This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Roger, I am sorry that two of us wound up scratching our heads simultaneously! As Tobi said, I had posted a patch that fixes your problem. Please find attached a revised version of the patch that deals with Tobi's one remark. > eq != NULL is already ensured by the loop condition, and shouldn't > eq->expr == NULL be an internal error? There was no need even to insert an assert. Regtested on Cygwin_NT/Athlon_M I would be very grateful if you would commit this for me. If you do, please expunge the CR/LFs. Failing that, I will be in a position to do it myself on Sunday. Regards Paul 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. 2006-05-02 Paul Thomas <pault@gcc.gnu.org> PR fortran/27269 PR fortran/27324 * gfortran.dg/module_equivalence_2.f90: New test.
Attachment:
commit.diff
Description: commit.diff
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |