This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran 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] |
In testing my patch for subreference array pointers, Thomas Koenig found a regression in another part of gfortran that was serious enough as to warrant immediate action. I therefore committed, as obvious, the patch below. I felt that this was safe because the conditions that caused the regression have been made more restrictive and will push compilation towards the scalarizer, which works correctly. Bootstrapped and regtested on x86_ia64/FC5 2007-09-10 Paul Thomas <pault@gcc.gnu.org> PR fortran/33370 * trans-expr.c (copyable_array_p): Add tests that expression is a variable, that it has no subreferences and that it is a full array. (gfc_trans_assignment): Change conditions to suit modifications to copyable_array_p. 2007-09-10 Paul Thomas <pault@gcc.gnu.org> PR fortran/33370 * gfortran.dg/array_memcpy_5.f90: New test. Paul
Attachment:
check.diff
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |