This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/71795] [4.9/5/6/7 Regression] Two Bugs in array constructors (optimization)
- From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 22 Jul 2016 10:39:04 +0000
- Subject: [Bug fortran/71795] [4.9/5/6/7 Regression] Two Bugs in array constructors (optimization)
- Auto-submitted: auto-generated
- References: <bug-71795-4@http.gcc.gnu.org/bugzilla/>
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