diff options
author | Paul Thomas <pault@gcc.gnu.org> | 2007-07-17 17:22:44 +0000 |
---|---|---|
committer | Paul Thomas <pault@gcc.gnu.org> | 2007-07-17 17:22:44 +0000 |
commit | 28114dadadfeedf9de14b51e8e2a5e5859d619e3 (patch) | |
tree | 68ba4b18261ead6f352d9cbbba151c1b0052fd4e /gcc/alloc-pool.h | |
parent | 4c85af60e8b5736e5534fee89d1a671b9f3ab7a9 (diff) | |
download | gcc-28114dadadfeedf9de14b51e8e2a5e5859d619e3.zip gcc-28114dadadfeedf9de14b51e8e2a5e5859d619e3.tar.gz gcc-28114dadadfeedf9de14b51e8e2a5e5859d619e3.tar.bz2 |
re PR fortran/31320 (Illegal read with gfortran.dg/alloc_comp_assign_2.f90 and *_3.f90)
2007-07-17 Paul Thomas <pault@gcc.gnu.org>
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 <pault@gcc.gnu.org>
PR fortran/31320
PR fortran/32665
* gfortran.dg/alloc_comp_constructor_3.f90: New test.
From-SVN: r126703
Diffstat (limited to 'gcc/alloc-pool.h')
0 files changed, 0 insertions, 0 deletions