Richard Sandiford <rdsandif...@googlemail.com> writes:

> REG_BR_PROB notes are stored as:
>
>   (expr_list:REG_BR_PROB (const_int <prob>) <chain>)
>
> but a full const_int rtx seems a bit heavweight when all we want is
> a plain "int".  This patch uses:
>
>   (int_list:REG_BR_PROB <prob> <chain>)
>
> instead.

I think you left out the handling of INT_LIST in eliminate_regs_1.  This
lets me finish the build:

diff --git a/gcc/reload1.c b/gcc/reload1.c
index 7a82c07..41f1aa8 100644
--- a/gcc/reload1.c
+++ b/gcc/reload1.c
@@ -2576,6 +2576,7 @@ eliminate_regs_1 (rtx x, enum machine_mode mem_mode, rtx 
insn,
     case ADDR_VEC:
     case ADDR_DIFF_VEC:
     case RETURN:
+    case INT_LIST:
       return x;
 
     case REG:

Andreas.

-- 
Andreas Schwab, SUSE Labs, sch...@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."

Reply via email to