[Bug fortran/71795] [4.9/5/6/7 Regression] Two Bugs in array constructors (optimization)

tkoenig at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Jul 22 10:39:00 GMT 2016


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

--- Comment #8 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Author: tkoenig
Date: Fri Jul 22 10:38:32 2016
New Revision: 238638

URL: https://gcc.gnu.org/viewcvs?rev=238638&root=gcc&view=rev
Log:
2016-07-22  Thomas Koenig  <tkoenig@gcc.gnu.org>

        PR fortran/71795
        * frontend-passes.c (combine_array_constructor):  Don't
        do anything if the expression is inside an array iterator.

2016-07-22  Thomas Koenig  <tkoenig@gcc.gnu.org>

        PR fortran/71795
        * gfortran.dg/constructor_50.f90:  New test.


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


More information about the Gcc-bugs mailing list