https://gcc.gnu.org/bugzilla/show_bug.cgi?id=128620
--- Comment #4 from Tamar Christina <tnfchris at gcc dot gnu.org> ---
Can you try
diff --git a/gcc/final.cc b/gcc/final.cc
--- a/gcc/final.cc
+++ b/gcc/final.cc
@@ -4813,8 +4813,7 @@
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);
the subreg isn't really needed here.