]> git.ipfire.org Git - thirdparty/gcc.git/commit
backport: re PR fortran/71623 (Segfault when allocating deferred-length characters...
authorAndre Vehreschild <vehre@gcc.gnu.org>
Wed, 13 Jul 2016 17:30:58 +0000 (19:30 +0200)
committerAndre Vehreschild <vehre@gcc.gnu.org>
Wed, 13 Jul 2016 17:30:58 +0000 (19:30 +0200)
commitd53706d2082e6d27a33359842487d50d5ff8fdf9
tree9090393dceba0c525ecb83a3001277ea22d85350
parentd8242b8db4c061681eb4b895e65f7ce2deca98ef
backport: re PR fortran/71623 (Segfault when allocating deferred-length characters to size of a pointer)

gcc/fortran/ChangeLog:

2016-07-13  Andre Vehreschild  <vehre@gcc.gnu.org>

Backport from trunk:
PR fortran/71623
* trans-stmt.c (gfc_trans_allocate): Add code of pre block of typespec
in allocate to parent block.

gcc/testsuite/ChangeLog:

2016-07-13  Andre Vehreschild  <vehre@gcc.gnu.org>

Backport from trunk:
PR fortran/71623
* gfortran.dg/deferred_character_18.f90: New test.

From-SVN: r238308
gcc/fortran/ChangeLog
gcc/fortran/trans-stmt.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/deferred_character_18.f90 [new file with mode: 0644]