[Bug tree-optimization/126642] [17 Regression] ICE bootstrapping; compiling bid64_mul.c with stage1 since r17-2952
"pinskia at gcc dot gnu.org via Gcc-bugs" <[email protected]> Tue, 04 Aug 2026 16:52:49 +0000
| Newsgroups | gmane.comp.gcc.bugs |
|---|---|
| Message-ID | <[email protected]/bugzilla/> |
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126642
Drea Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[17 Regression] ICE |[17 Regression] ICE
|bootstrapping; compiling |bootstrapping; compiling
|bid64_mul.c with stage1 |bid64_mul.c with stage1
| |since r17-2952
--- Comment #2 from Drea Pinski <pinskia at gcc dot gnu.org> ---
Confirmed that it was r17-2952 .
[apinski@xeond2 gcc]$ ./cc1 -m32 -O2 t.i
unpack_BID64 get_BID64 fast_get_BID64 fast_get_BID64_check_OF
very_fast_get_BID64 very_fast_get_BID64_small_mantissa get_BID64_UF
get_BID64_small_mantissa handle_UF_128_rem handle_UF_128 unpack_BID128_value
unpack_BID128 get_BID128_very_fast_OF get_BID128_very_fast get_BID128_fast
get_BID128 get_BID128_string unpack_BID32 get_BID32 very_fast_get_BID32
__bid64_mul
Analyzing compilation unit
Performing interprocedural optimizations
<*free_lang_data> {heap 1488k} <visibility> {heap 1488k} <build_ssa_passes>
{heap 1488k} <targetclone> {heap 1796k} <opt_local_passes> {heap 1796k} {GC
released 1432k} {GC 5333k -> 3930k} <remove_symbols> {heap 2760k} <targetclone>
{heap 2760k} <free-fnsummary> {heap 2760k}Streaming LTO
<whole-program> {heap 2760k} <profile_estimate> {heap 2760k} <icf> {heap
2760k} <devirt> {heap 2760k} <cp> {heap 2760k} <sra> {heap 2760k} <fnsummary>
{heap 2760k} <inline> {heap 2760k} <pure-const> {heap 2760k} <modref> {heap
2760k} <free-fnsummary> {heap 2760k} <static-var> {heap 2760k} <single-use>
{heap 2760k} <comdats> {heap 2760k}Assembling functions:
<simdclone> {heap 2760k} __bid64_mulduring RTL pass: expand
/home/apinski/src/upstream-gcc-git/gcc/libgcc/config/libbid/bid64_mul.c: In
function ‘__bid64_mul’:
/home/apinski/src/upstream-gcc-git/gcc/libgcc/config/libbid/bid64_mul.c:188:293:
internal compiler error: in expand_mult, at expmed.cc:3669
188 | __mul_64x64_to_128 (P, coefficient_x, coefficient_y);
|
^
0x3b337ca internal_error(char const*, ...)
/home/apinski/src/upstream-gcc-git/gcc/gcc/diagnostic-global-context.cc:787
0x3b420db fancy_abort(char const*, int, char const*)
/home/apinski/src/upstream-gcc-git/gcc/gcc/diagnostics/context.cc:1813
0x14212e4 expand_mult(machine_mode, rtx_def*, rtx_def*, rtx_def*, int, bool)
/home/apinski/src/upstream-gcc-git/gcc/gcc/expmed.cc:3669
0x14579cf expand_expr_real_2(separate_ops const*, rtx_def*, machine_mode,
expand_modifier)
/home/apinski/src/upstream-gcc-git/gcc/gcc/expr.cc:10568
0x145b1b6 expand_expr_real_gassign(gassign*, rtx_def*, machine_mode,
expand_modifier, rtx_def**, bool)
/home/apinski/src/upstream-gcc-git/gcc/gcc/expr.cc:11389
0x145c2d1 expand_expr_real_1(tree_node*, rtx_def*, machine_mode,
expand_modifier, rtx_def**, bool)
/home/apinski/src/upstream-gcc-git/gcc/gcc/expr.cc:11618
0x14533be expand_expr_real(tree_node*, rtx_def*, machine_mode, expand_modifier,
rtx_def**, bool)
/home/apinski/src/upstream-gcc-git/gcc/gcc/expr.cc:9655
0x1259680 expand_expr(tree_node*, rtx_def*, machine_mode, expand_modifier)
/home/apinski/src/upstream-gcc-git/gcc/gcc/expr.h:323
0x1458b4f expand_expr_real_2(separate_ops const*, rtx_def*, machine_mode,
expand_modifier)
/home/apinski/src/upstream-gcc-git/gcc/gcc/expr.cc:10829
0x145b1b6 expand_expr_real_gassign(gassign*, rtx_def*, machine_mode,
expand_modifier, rtx_def**, bool)
/home/apinski/src/upstream-gcc-git/gcc/gcc/expr.cc:11389
0x128f425 expand_gimple_stmt_1
/home/apinski/src/upstream-gcc-git/gcc/gcc/cfgexpand.cc:4356
0x128f6dc expand_gimple_stmt
/home/apinski/src/upstream-gcc-git/gcc/gcc/cfgexpand.cc:4420
0x1297d53 expand_gimple_basic_block
/home/apinski/src/upstream-gcc-git/gcc/gcc/cfgexpand.cc:6537
0x129a42f execute
/home/apinski/src/upstream-gcc-git/gcc/gcc/cfgexpand.cc:7288
./cc1 -m32 -O2 t.i
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.