------- Comment #9 from pault at gcc dot gnu dot org  2007-07-17 17:23 -------
Subject: Bug 31320

Author: pault
Date: Tue Jul 17 17:22:44 2007
New Revision: 126703

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=126703
Log:
2007-07-17  Paul Thomas  <[EMAIL PROTECTED]>

        PR fortran/31320
        PR fortran/32665
        * trans-expr.c (gfc_trans_subcomponent_assign): Ensure that
        renormalization unity base is done independently of existing
        lbound value.
        (gfc_trans_scalar_assign): If rhs is not a variable, put
        lse->pre after rse->pre to ensure that de-allocation of lhs
        occurs after evaluation of rhs.

2007-07-17  Paul Thomas  <[EMAIL PROTECTED]>

        PR fortran/31320
        PR fortran/32665
        * gfortran.dg/alloc_comp_constructor_3.f90: New test.


Added:
    trunk/gcc/testsuite/gfortran.dg/alloc_comp_constructor_3.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/trans-expr.c
    trunk/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31320

Reply via email to