https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125052
Bug ID: 125052
Summary: [17 Regression] ICE in add_iv_candidate_for_doloop, at
tree-ssa-loop-ivopts.cc:5786 on powerpc-linux-gnu
Product: gcc
Version: 17.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: bootstrap
Assignee: unassigned at gcc dot gnu.org
Reporter: doko at gcc dot gnu.org
Target Milestone: ---
seen with trunk 20260427 on powerpc-linux-gnu:
during GIMPLE pass: ivopts
../../../../src/libphobos/libdruntime/core/internal/gc/impl/conservative/gc.d:
In function 'ctfeBins':
checking for long double trig functions...
../../../../src/libphobos/libdruntime/core/internal/gc/impl/conservative/gc.d:2080:23:
internal compiler error: in add_iv_candidate_for_doloop, at
tree-ssa-loop-ivopts.cc:5786
2080 | static Bins[2049] ctfeBins() nothrow
|
0x1351572b internal_error(char const*, ...)
../../src/gcc/diagnostic-global-context.cc:787
0x13528307 fancy_abort(char const*, int, char const*)
../../src/gcc/diagnostics/context.cc:1813
0x11c2d693 add_iv_candidate_for_doloop
../../src/gcc/tree-ssa-loop-ivopts.cc:5786
0x11c2d97f find_iv_candidates
../../src/gcc/tree-ssa-loop-ivopts.cc:5832
0x11c3711b tree_ssa_iv_optimize_loop
../../src/gcc/tree-ssa-loop-ivopts.cc:8197
0x11c37357 tree_ssa_iv_optimize()
../../src/gcc/tree-ssa-loop-ivopts.cc:8250
0x11c74a2f execute
../../src/gcc/tree-ssa-loop.cc:464
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
Please include the complete backtrace with any bug report.
See <file:///usr/share/doc/gcc-snapshot/README.Bugs> for instructions.
make[7]: *** [Makefile:2638: core/internal/gc/impl/conservative/gc.lo] Error 1
make[7]: *** Waiting for unfinished jobs....
make[4]: Leaving directory
'/build/reproducible-path/gcc-snapshot-20260427/build'
make[3]: *** [Makefile:31482: stage1-bubble] Error 2
make[3]: Leaving directory
'/build/reproducible-path/gcc-snapshot-20260427/build'
make[2]: *** [Makefile:31819: bootstrap] Error 2
make[2]: Leaving directory
'/build/reproducible-path/gcc-snapshot-20260427/build'
Configured with: -v
--with-pkgversion='Debian 20260427-1'
--with-bugurl='file:///usr/share/doc/gcc-snapshot/README.Bugs'
--enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++,rust,algol68
--prefix=/usr/lib/gcc-snapshot
--with-gcc-major-version-only
--program-prefix=
--enable-shared
--enable-linker-build-id
--disable-nls
--enable-clocale=gnu
--enable-libstdcxx-debug
--enable-libstdcxx-time=yes
--with-default-libstdcxx-abi=new
--enable-libstdcxx-backtrace
--enable-gnu-unique-object
--disable-libitm
--disable-libquadmath
--disable-libquadmath-support
--enable-plugin
--with-system-zlib
--enable-libphobos-checking=release
--with-target-system-zlib=auto
--with-libphobos-druntime-only=yes
--enable-objc-gc=auto
--enable-secureplt
--disable-softfloat
--with-cpu=default32
--disable-softfloat
--enable-targets=powerpc-linux,powerpc64-linux
--enable-multiarch
--disable-werror
--with-long-double-128
--enable-multilib
--enable-checking=yes
--build=powerpc-linux-gnu
--host=powerpc-linux-gnu
--target=powerpc-linux-gnu