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

--- Comment #5 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Author: tkoenig
Date: Wed Oct 18 21:29:37 2017
New Revision: 253872

URL: https://gcc.gnu.org/viewcvs?rev=253872&root=gcc&view=rev
Log:
2017-10-18  Thomas Koenig  <tkoe...@gcc.gnu.org>

        PR fortran/82567
        * frontend-passes.c (combine_array_constructor): If an array
        constructor is all constants and has more elements than a small
        constant, don't convert a*[b,c] to [a*b,a*c] to reduce compilation
        times.

2017-10-18  Thomas Koenig  <tkoe...@gcc.gnu.org>

        PR fortran/82567
        * gfortran.dg/array_constructor_51.f90: New test.


Added:
    trunk/gcc/testsuite/gfortran.dg/array_constructor_51.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/frontend-passes.c
    trunk/gcc/testsuite/ChangeLog

Reply via email to