This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]