This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/69742] [5 Regression] ICE with -O3 and ASSOCIATE containing repeated expression
- 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: Tue, 09 Aug 2016 06:29:29 +0000
- Subject: [Bug fortran/69742] [5 Regression] ICE with -O3 and ASSOCIATE containing repeated expression
- Auto-submitted: auto-generated
- References: <bug-69742-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69742
--- Comment #9 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Author: tkoenig
Date: Tue Aug 9 06:28:57 2016
New Revision: 239271
URL: https://gcc.gnu.org/viewcvs?rev=239271&root=gcc&view=rev
Log:
2016-08-09 Thomas Koenig <tkoenig@gcc.gnu.org>
Backport from trunk
PR fortran/69742
* frontend-passes.c (cfe-expr_0): Don't register functions
from within an ASSOCIATE statement.
2016-08-09 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/69742
* gfortran.dg/associate_21.f90: New test.
Added:
branches/gcc-5-branch/gcc/testsuite/gfortran.dg/associate_21.f90
Modified:
branches/gcc-5-branch/gcc/fortran/ChangeLog
branches/gcc-5-branch/gcc/fortran/frontend-passes.c
branches/gcc-5-branch/gcc/testsuite/ChangeLog