]> gcc.gnu.org Git - gcc.git/commit
re PR fortran/48462 (realloc on assignment: matmul Segmentation Fault with Allocatabl...
authorPaul Thomas <pault@gcc.gnu.org>
Mon, 18 Apr 2011 05:07:38 +0000 (05:07 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Mon, 18 Apr 2011 05:07:38 +0000 (05:07 +0000)
commit12df8d0150a2f18d7e86a8b0a94cfc4201795c18
treeceec9218b58afb6c585b0c393a32c2d115a38f51
parent967ac8cfb178fef960b253f97e81131434336cbd
re PR fortran/48462 (realloc on assignment: matmul Segmentation Fault with Allocatable Array)

2011-04-18  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/48462
* trans-expr.c (fcncall_realloc_result): Renamed version of
realloc_lhs_bounds_for_intrinsic_call that does not touch the
descriptor bounds anymore but makes a temporary descriptor to
hold the result.
(gfc_trans_arrayfunc_assign): Modify the reference to above
renamed function.

2011-04-18  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/48462
* gfortran.dg/realloc_on_assign_7.f03: New test.

From-SVN: r172636
gcc/fortran/ChangeLog
gcc/fortran/trans-expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/realloc_on_assign_7.f03 [new file with mode: 0644]
This page took 0.055929 seconds and 5 git commands to generate.