[Bug fortran/81735] [6/7/8 Regression] double free or corruption (fasttop) error (SIGABRT) with character(:) and custom return type with allocatable

pault at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Nov 3 19:02:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81735

--- Comment #9 from Paul Thomas <pault at gcc dot gnu.org> ---
Author: pault
Date: Fri Nov  3 19:01:29 2017
New Revision: 254389

URL: https://gcc.gnu.org/viewcvs?rev=254389&root=gcc&view=rev
Log:
2017-11-03  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/81735
        * trans-decl.c (gfc_trans_deferred_vars): Correct case where
        'tmp' can be used unititialized.

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

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


Added:
    branches/gcc-7-branch/gcc/testsuite/gfortran.dg/pr81735.f90
Modified:
    branches/gcc-7-branch/gcc/fortran/ChangeLog
    branches/gcc-7-branch/gcc/fortran/trans-decl.c
    branches/gcc-7-branch/gcc/testsuite/ChangeLog


More information about the Gcc-bugs mailing list