[Bug fortran/88073] [7/8 Regression] Internal compiler error compiling WHERE construct with -O or -O2

tkoenig at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Nov 25 15:20:00 GMT 2018


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

--- Comment #4 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Author: tkoenig
Date: Sun Nov 25 15:19:29 2018
New Revision: 266436

URL: https://gcc.gnu.org/viewcvs?rev=266436&root=gcc&view=rev
Log:
2018-11-25  Thomas Koenig  <tkoenig@gcc.gnu.org>

        Backport from trunk
        PR fortran/88073
        * frontend-passes.c (combine_array_constructor): Do not do
        anything if in a WHERE statement.

2018-11-25  Thomas Koenig  <tkoenig@gcc.gnu.org>

        Backport from trunk
        PR fortran/88073
        * gfortran.dg/where_7.f90: New test.


Added:
    branches/gcc-8-branch/gcc/testsuite/gfortran.dg/where_7.f90
Modified:
    branches/gcc-8-branch/gcc/fortran/ChangeLog
    branches/gcc-8-branch/gcc/fortran/frontend-passes.c
    branches/gcc-8-branch/gcc/testsuite/ChangeLog


More information about the Gcc-bugs mailing list