[Bug fortran/69742] [5 Regression] ICE with -O3 and ASSOCIATE containing repeated expression

tkoenig at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Aug 9 06:29:00 GMT 2016


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


More information about the Gcc-bugs mailing list