https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118503
Bug ID: 118503
Summary: [15 Regression] gcc-15.0.0_pre20250112 ICE with
webkit-gtk-2.46.5-r600: JSBigInt.cpp:1424:6: internal
compiler error: in exact_div, at poly-int.h:2160 1424
| bool JSBigInt::equals(JSBigInt* x, JSBigInt* y)
Product: gcc
Version: 15.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: ted.d.rodgers at gmail dot com
Target Milestone: ---
during GIMPLE pass: vect
In file included from
/var/tmp/portage/net-libs/webkit-gtk-2.46.5-r600/work/webkitgtk-2.46.5_build/JavaScriptCore/DerivedSources/unified-sources/UnifiedSource-f2e18ffc-19.cpp:5:
/var/tmp/portage/net-libs/webkit-gtk-2.46.5-r600/work/webkitgtk-2.46.5/Source/JavaScriptCore/runtime/JSBigInt.cpp:
In static member function ‘static bool JSC::JSBigInt::equals(JSC
::JSBigInt*, JSC::JSBigInt*)’:
/var/tmp/portage/net-libs/webkit-gtk-2.46.5-r600/work/webkitgtk-2.46.5/Source/JavaScriptCore/runtime/JSBigInt.cpp:1424:6:
internal compiler error: in exact_div, at poly-int.h:2160
1424 | bool JSBigInt::equals(JSBigInt* x, JSBigInt* y)
| ^~~~~~~~
0x5650c9575f8b internal_error(char const*, ...)
/usr/src/debug/sys-devel/gcc-15.0.0_pre20250112/gcc-15-20250112/gcc/diagnostic-global-context.cc:517
0x5650c6d8449f fancy_abort(char const*, int, char const*)
/usr/src/debug/sys-devel/gcc-15.0.0_pre20250112/gcc-15-20250112/gcc/diagnostic.cc:1722
0x5650c6d380cf poly_int<1u, poly_result<unsigned long, if_nonpoly<int, int,
poly_int_traits<int>::is_poly>::type, poly_coeff_pair_traits<unsigned long,
if_nonpoly<int, int, poly_i
nt_traits<int>::is_poly>::type>::result_kind>::type> exact_div<1u, unsigned
long, int>(poly_int<1u, unsigned long> const&, int)
/usr/src/debug/sys-devel/gcc-15.0.0_pre20250112/gcc-15-20250112/gcc/poly-int.h:2160
0x5650c6d380cf vect_compute_data_ref_alignment
/usr/src/debug/sys-devel/gcc-15.0.0_pre20250112/gcc-15-20250112/gcc/tree-vect-data-refs.cc:1365
0x5650c9450bee vect_analyze_data_refs_alignment(_loop_vec_info*)
/usr/src/debug/sys-devel/gcc-15.0.0_pre20250112/gcc-15-20250112/gcc/tree-vect-data-refs.cc:2946
0x5650c7e0d0eb vect_analyze_loop_2
/usr/src/debug/sys-devel/gcc-15.0.0_pre20250112/gcc-15-20250112/gcc/tree-vect-loop.cc:2959
0x5650c7e0f562 vect_analyze_loop_1
/usr/src/debug/sys-devel/gcc-15.0.0_pre20250112/gcc-15-20250112/gcc/tree-vect-loop.cc:3478
0x5650c7e0fe6b vect_analyze_loop(loop*, gimple*, vec_info_shared*)
/usr/src/debug/sys-devel/gcc-15.0.0_pre20250112/gcc-15-20250112/gcc/tree-vect-loop.cc:3638
0x5650c7e792ba try_vectorize_loop_1
/usr/src/debug/sys-devel/gcc-15.0.0_pre20250112/gcc-15-20250112/gcc/tree-vectorizer.cc:1093
0x5650c7e792ba try_vectorize_loop
/usr/src/debug/sys-devel/gcc-15.0.0_pre20250112/gcc-15-20250112/gcc/tree-vectorizer.cc:1210
0x5650c7e79cd0 execute
/usr/src/debug/sys-devel/gcc-15.0.0_pre20250112/gcc-15-20250112/gcc/tree-vectorizer.cc:1326
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
Please include the complete backtrace with any bug report.
See <https://bugs.gentoo.org/> for instructions.
ninja: build stopped: subcommand failed.