]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR fortran/52151 (Segfault with realloc on assignment and RESHAPE to unallocated...
authorTobias Burnus <burnus@net-b.de>
Wed, 8 Feb 2012 19:40:23 +0000 (20:40 +0100)
committerTobias Burnus <burnus@gcc.gnu.org>
Wed, 8 Feb 2012 19:40:23 +0000 (20:40 +0100)
commit5d24176e5ebb386a25b8412a2393d1517620e5e3
tree13a49e30b2832ccf41ebdc6ffe45b6e054a3f52a
parent9d465faf92900b572286d6e9701632c2b289b451
re PR fortran/52151 (Segfault with realloc on assignment and RESHAPE to unallocated LHS)

2012-02-08  Tobias Burnus  <burnus@net-b.de>

        PR fortran/52151
        * trans-expr.c (fcncall_realloc_result): Set also the stride.

2012-02-08  Tobias Burnus  <burnus@net-b.de>

        PR fortran/52151
        * gfortran.dg/realloc_on_assign_12.f90: New.

From-SVN: r184016
gcc/fortran/ChangeLog
gcc/fortran/trans-expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/realloc_on_assign_12.f90 [new file with mode: 0644]