https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88073
Bug ID: 88073
Summary: Internal compiler error compiling WHERE construct
with -O or -O2
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: xecej4 at outlook dot com
Target Milestone: ---
Created attachment 45030
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45030&action=edit
Fortran source code which generates ICE when -O or -O2 is specified
Gfortran 7.3 and 8.1 experience an internal compiler error when compiling the
attached source file with either -O or -O2. The ICE does not occur if no
optimization flag is given.
$ gfortran -O2 -c tffu1.f90
tfu.f90:13:0:
Where ( .Not. (l1v))
internal compiler error: Segmentation fault
libbacktrace could not find executable to open