This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/66911] ICE on allocate character with source as a derived type component
- 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: Mon, 04 Apr 2016 09:48:19 +0000
- Subject: [Bug fortran/66911] ICE on allocate character with source as a derived type component
- Auto-submitted: auto-generated
- References: <bug-66911-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66911
--- Comment #8 from vehre at gcc dot gnu.org ---
Author: vehre
Date: Mon Apr 4 09:47:47 2016
New Revision: 234712
URL: https://gcc.gnu.org/viewcvs?rev=234712&root=gcc&view=rev
Log:
gcc/fortran/ChangeLog:
2016-04-04 Andre Vehreschild <vehre@gmx.de>
PR fortran/66911
* trans-stmt.c (gfc_trans_allocate): Get the deferred length of an
expression by converting the expression when the length is not set
in the symbol's ts.
gcc/testsuite/ChangeLog:
2016-04-04 Andre Vehreschild <vehre@gmx.de>
PR fortran/66911
* gfortran.dg/deferred_character_16.f90: New test.
Added:
branches/gcc-5-branch/gcc/testsuite/gfortran.dg/deferred_character_16.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