https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100837
--- Comment #1 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The trunk branch has been updated by Richard Sandiford <rsand...@gcc.gnu.org>: https://gcc.gnu.org/g:a6ec398042c6054cbf2c08b646df98b63a9418d5 commit r16-776-ga6ec398042c6054cbf2c08b646df98b63a9418d5 Author: Richard Sandiford <richard.sandif...@arm.com> Date: Wed May 21 10:01:26 2025 +0100 nds32: Avoid accessing beyond the operands[] array This pattern used operands[2] to hold the shift amount, even though the pattern doesn't have an operand 2 (not even as a match_dup). This caused a build failure with -Werror: array subscript 2 is above array bounds of ârtx_def* [2]â gcc/ PR target/100837 * config/nds32/nds32-intrinsic.md (unspec_get_pending_int): Use a local variable instead of operands[2].