[Bug rtl-optimization/122170] [15/16 Regression] gcc 15.2.0 (and gcc 15.1.0 as well) - ICE upon try to build CMSIS_DSP Library with and Optimization on
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jan 28 08:24:46 GMT 2026
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122170
--- Comment #8 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
noce_can_force_operand returns true:
(gdb) p debug_rtx(new_val)
(ss_minus:SI (reg:SI 96)
(reg:SI 94 [ c.1_1 ]))
$12 = void
(gdb) p noce_can_force_operand(new_val)
$13 = true
This is because code_to_optab returns an optab which is correct but we don't
check if the optab is implemented for that mode ...
More information about the Gcc-bugs
mailing list