https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117060
Bug ID: 117060
Summary: internal compiler error: in as_a, at is-a.h:255
Product: gcc
Version: 15.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: mario-baumann at web dot de
Target Milestone: ---
Created attachment 59308
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59308&action=edit
Fortran source file
Hi, following fortran source procudes ICE with -O2 and -O3, smaller
optimisation works fine.
> /opt/Gcc/15.0.0/bin/gfortran -O2 -c foo.F
during GIMPLE pass: vect
foo.F:1:20:
1 | subroutine foo (out)
| ^
internal compiler error: in as_a, at is-a.h:255
---
> /opt/Gcc/15.0.0/bin/gfortran -v
Using built-in specs.
COLLECT_GCC=/opt/Gcc/15.0.0/bin/gfortran
COLLECT_LTO_WRAPPER=/opt/Gcc/15.0.0/libexec/gcc/x86_64-apple-darwin21/15.0.0/lto-wrapper
Target: x86_64-apple-darwin21
Configured with: /opt/Gcc/15.0.0/.src/configure --prefix=/opt/Gcc/15.0.0
--build=x86_64-apple-darwin21 --enable-languages=c,c++,fortran --enable-lto
--enable-stage1-checking --enable-libstdcxx-time --disable-nls
--disable-libquadmath --disable-libquadmath-support
--with-sysroot=/opt/Gcc/15.0.0/.sys --with-ld=/opt/local/bin/ld
--with-ar=/opt/local/bin/ar --with-as=/opt/local/bin/as --with-system-zlib
--with-pkgversion=git-revision-214303
Thread model: posix
Supported LTO compression algorithms: zlib
gcc version 15.0.0 20241010 (experimental) (git-revision-214303)