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

--- Comment #3 from vehre at gcc dot gnu.org ---
Author: vehre
Date: Sun Nov  8 17:37:42 2015
New Revision: 229956

URL: https://gcc.gnu.org/viewcvs?rev=229956&root=gcc&view=rev
Log:
gcc/fortran/ChangeLog:

2015-11-08  Andre Vehreschild  <ve...@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-08  Andre Vehreschild  <ve...@gcc.gnu.org>

        PR fortran/68218
        * gfortran.dg/allocate_with_arrayspec_1.f90: New test.



Added:
    trunk/gcc/testsuite/gfortran.dg/allocate_with_arrayspec_1.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/trans-array.c
    trunk/gcc/testsuite/ChangeLog

Reply via email to