[Patch, fortran] PR48462 - [4.6/4.7 Regression] realloc on assignment: matmul Segmentation Fault with Allocatable Array + PR48746
Paul Richard Thomas
paul.richard.thomas@gmail.com
Sat Apr 30 14:05:00 GMT 2011
Committed revision 173213 as obvious (in fact it reverts to original
treatment of bounds).
2011-04-30 Paul Thomas <pault@gcc.gnu.org>
PR fortran/48746
* trans-expr.c (fcncall_realloc_result): Set the bounds and the
offset so that the lbounds are one.
(gfc_trans_arrayfunc_assign): Add rank to arguments of above.
2011-04-30 Paul Thomas <pault@gcc.gnu.org>
PR fortran/48746
* gfortran.dg/realloc_on_assign_7.f03: Test bounds.
Paul
More information about the Gcc-patches
mailing list