From 60b5526fd649800826098a35cc33fbd530622592 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Wed, 16 Dec 2015 13:34:31 -0700 Subject: ree.c (add_removable_extension): Use reg_overlap_mentioned_p rather than testing hard register #s. * ree.c (add_removable_extension): Use reg_overlap_mentioned_p rather than testing hard register #s. From-SVN: r231719 --- gcc/ree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/ree.c') diff --git a/gcc/ree.c b/gcc/ree.c index 6cfc477..d12e24d 100644 --- a/gcc/ree.c +++ b/gcc/ree.c @@ -1085,7 +1085,7 @@ add_removable_extension (const_rtx expr, rtx_insn *insn, code in combine_reaching_defs will handle that case correctly. */ if ((HARD_REGNO_NREGS (REGNO (dest), mode) != HARD_REGNO_NREGS (REGNO (reg), GET_MODE (reg))) - && REGNO (dest) == REGNO (reg)) + && reg_overlap_mentioned_p (dest, reg)) return; /* Then add the candidate to the list and insert the reaching definitions -- cgit v1.1