[Bug fortran/68218] ALLOCATE with size given by a module function
vehre at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Nov 27 14:08:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68218
--- Comment #5 from vehre at gcc dot gnu.org ---
Author: vehre
Date: Fri Nov 27 14:08:23 2015
New Revision: 231014
URL: https://gcc.gnu.org/viewcvs?rev=231014&root=gcc&view=rev
Log:
gcc/fortran/ChangeLog:
2015-11-27 Andre Vehreschild <vehre@gcc.gnu.org>
PR fortran/68218
* trans-array.c (gfc_array_init_size): Add gfc_evaluate_now() when
array spec in allocate is a function call.
gcc/testsuite/ChangeLog:
2015-11-27 Andre Vehreschild <vehre@gcc.gnu.org>
PR fortran/68218
* gfortran.dg/allocate_with_arrayspec_1.f90: New test.
Added:
branches/gcc-5-branch/gcc/testsuite/gfortran.dg/allocate_with_arrayspec_1.f90
Modified:
branches/gcc-5-branch/gcc/fortran/ChangeLog
branches/gcc-5-branch/gcc/fortran/trans-array.c
branches/gcc-5-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list