This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/71623] [5/6/7 Regression] Segfault when allocating deferred-length characters to size of a pointer
- From: "vehre at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 13 Jul 2016 17:31:30 +0000
- Subject: [Bug fortran/71623] [5/6/7 Regression] Segfault when allocating deferred-length characters to size of a pointer
- Auto-submitted: auto-generated
- References: <bug-71623-4@http.gcc.gnu.org/bugzilla/>
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