https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121065
--- Comment #2 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Robin Dapp <rd...@gcc.gnu.org>: https://gcc.gnu.org/g:4648fe556e26d54abfc863ebb2ed046f1a260fdb commit r16-2286-g4648fe556e26d54abfc863ebb2ed046f1a260fdb Author: Robin Dapp <rd...@ventanamicro.com> Date: Tue Jul 15 10:55:36 2025 +0200 expand: Allow fixed-point arithmetic for RDIV_EXPR. r16-2175-g5aa21765236730 introduced an assert for floating-point modes when expanding an RDIV_EXPR but forgot fixed-point modes. This patch adds ALL_FIXED_POINT_MODE_P to the assert. PR middle-end/121065 gcc/ChangeLog: * cfgexpand.cc (expand_debug_expr): Allow fixed-point modes for RDIV_EXPR. * optabs-tree.cc (optab_for_tree_code): Ditto. gcc/testsuite/ChangeLog: * gcc.target/arm/pr121065.c: New test.