https://gcc.gnu.org/g:a17f89a457e5aeb542ec371f4bfc8d72057af670
commit r17-6139-ga17f89a457e5aeb542ec371f4bfc8d72057af670 Author: Tamar Christina <[email protected]> Date: Wed Nov 11 13:48:33 2026 +0000 middle-end: remove subreg from test_output_operand_modifier_operand selftest [PR128620] The selftest doesn't actually need the subreg and on some targets where QI and HI are not tiable the selftest ICEs. Fix bootstrap for those targets by just not using a subreg. gcc/ChangeLog: PR middle-end/128620 * final.cc (test_output_operand_modifier_operand): Remove subreg. Diff: --- gcc/final.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gcc/final.cc b/gcc/final.cc index 224f0835a266..1ca754146e47 100644 --- a/gcc/final.cc +++ b/gcc/final.cc @@ -4794,8 +4794,7 @@ test_referenced_operands () static void test_output_operand_modifier_operand () { - rtx operands[] = { GEN_INT (10), - gen_lowpart_SUBREG (QImode, gen_rtx_REG (HImode, 0)) }; + rtx operands[] = { GEN_INT (10), gen_rtx_REG (QImode, 0) }; auto_vec<unsigned long, 2> opnums; opnums.safe_push (1); opnums.safe_push (0);
