[Bug fortran/48746] [4.6/4.7 Regression] Matmul with allocate on assignment
pault at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Apr 30 11:47:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48746
--- Comment #8 from Paul Thomas <pault at gcc dot gnu.org> 2011-04-30 11:46:34 UTC ---
Author: pault
Date: Sat Apr 30 11:46:31 2011
New Revision: 173213
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=173213
Log:
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.
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/trans-expr.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gfortran.dg/realloc_on_assign_7.f03
More information about the Gcc-bugs
mailing list