https://gcc.gnu.org/g:82397809de056d2035791f1e39a36b110f736a7d
commit r17-4085-g82397809de056d2035791f1e39a36b110f736a7d Author: Richard Sandiford <[email protected]> Date: Thu Sep 10 14:33:57 2026 +0100 rx: Fix GET_MODE/GET_CODE typo Noticed while building rx-* with config-list.mk, where it triggered a build failure. gcc/ * config/rx/rx.cc (rx_gen_move_template): Fix GET_MODE/GET_CODE typo. Diff: --- gcc/config/rx/rx.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/config/rx/rx.cc b/gcc/config/rx/rx.cc index 038f93431f43..a7ddfead32cf 100644 --- a/gcc/config/rx/rx.cc +++ b/gcc/config/rx/rx.cc @@ -1010,7 +1010,7 @@ rx_gen_move_template (rtx * operands, bool is_movu) else { /* Otherwise, use the smaller size. */ - if (GET_MODE (src) == SIGN_EXTEND || GET_MODE (src) == ZERO_EXTEND) + if (GET_CODE (src) == SIGN_EXTEND || GET_CODE (src) == ZERO_EXTEND) /* When expanding, the original size will be used. */ src_mode = GET_MODE (XEXP (src, 0)); else
