re PR fortran/81735 (double free or corruption (fasttop) error (SIGABRT) with charact...
authorPaul Thomas <pault@gcc.gnu.org>
Sat, 4 Nov 2017 09:07:09 +0000 (09:07 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Sat, 4 Nov 2017 09:07:09 +0000 (09:07 +0000)
commit77dacf9da6fe475efc87d63d7ea6fde66f097afc
tree9cfc4eb9f5646646c65966c675409c8089598d49
parent9cfdd48417dce7d29a410510d2fb0e9b74b66878
re PR fortran/81735 (double free or corruption (fasttop) error (SIGABRT) with character(:) and custom return type with allocatable)

2017-11-04  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/81735
* trans-decl.c (gfc_trans_deferred_vars): Do a better job of a
case where 'tmp' was used unititialized and remove TODO.

2017-11-04  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/81735
* gfortran.dg/pr81735.f90: New test.

From-SVN: r254404
gcc/fortran/ChangeLog
gcc/fortran/trans-decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/pr81735.f90 [new file with mode: 0644]