https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97322
--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Jakub Jelinek <ja...@gcc.gnu.org>: https://gcc.gnu.org/g:f18eeb6b958acd5e1590ca4a73231486b749be9b commit r11-3720-gf18eeb6b958acd5e1590ca4a73231486b749be9b Author: Jakub Jelinek <ja...@redhat.com> Date: Thu Oct 8 11:56:15 2020 +0200 arm: Fix ICE on glibc compilation after my DIVMOD optimization [PR97322] The arm target hook for divmod wasn't prepared to handle constants passed to the function. 2020-10-08 Jakub Jelinek <ja...@redhat.com> PR target/97322 * config/arm/arm.c (arm_expand_divmod_libfunc): Pass mode instead of GET_MODE (op0) or GET_MODE (op1) to emit_library_call_value. * gcc.dg/pr97322.c: New test.