This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/71623] [5/6/7 Regression] Segfault when allocating deferred-length characters to size of a pointer


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

--- Comment #9 from vehre at gcc dot gnu.org ---
Author: vehre
Date: Wed Jul 13 17:30:58 2016
New Revision: 238308

URL: https://gcc.gnu.org/viewcvs?rev=238308&root=gcc&view=rev
Log:
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.



Added:
    branches/gcc-5-branch/gcc/testsuite/gfortran.dg/deferred_character_18.f90
Modified:
    branches/gcc-5-branch/gcc/fortran/ChangeLog
    branches/gcc-5-branch/gcc/fortran/trans-stmt.c
    branches/gcc-5-branch/gcc/testsuite/ChangeLog

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]