[Bug fortran/71623] [5/6/7 Regression] Segfault when allocating deferred-length characters to size of a pointer
vehre at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jul 13 17:31:00 GMT 2016
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
More information about the Gcc-bugs
mailing list