[Bug fortran/82567] [6/7/8] gfortran takes a long time to compile a simple implied-do with -Optimization.
tkoenig at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Oct 18 21:30:00 GMT 2017
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 <tkoenig@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 <tkoenig@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
More information about the Gcc-bugs
mailing list