https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123390
--- Comment #6 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Richard Earnshaw <[email protected]>: https://gcc.gnu.org/g:d1f4800d973367c9b34407b405ba3de55a885d54 commit r16-6541-gd1f4800d973367c9b34407b405ba3de55a885d54 Author: Richard Earnshaw <[email protected]> Date: Mon Jan 5 17:29:25 2026 +0000 arm: avoid UB in arm_gen_constant [PR123390] To avoid having potentially UB in arm_gen_const, use the macros from hwint.h to correctly type literal values. gcc/ChangeLog: PR target/123390 * config/arm/arm.cc (arm_gen_constant): Fix types of HWI literals. (arm_const_double_prefer_rsbs_rsc): Likewise.
