From: Jan Hubicka Date: Thu, 6 Oct 2016 13:45:45 +0000 (+0200) Subject: postreload.c (reload_cse_simplify): Skip also USE when detecting noop move. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c6a2617973f6e7d1359a08b941c27c6d5287563b;p=gcc.git postreload.c (reload_cse_simplify): Skip also USE when detecting noop move. * postreload.c (reload_cse_simplify): Skip also USE when detecting noop move. From-SVN: r240833 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index cf7505c41c1..3799db0fb83 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2016-10-06 Jan Hubicka + + * postreload.c (reload_cse_simplify): Skip also USE when detecting + noop move. + 2016-10-06 Richard Biener PR tree-optimization/77855 diff --git a/gcc/postreload.c b/gcc/postreload.c index 61c1ce8028e..4f3a526981e 100644 --- a/gcc/postreload.c +++ b/gcc/postreload.c @@ -153,7 +153,8 @@ reload_cse_simplify (rtx_insn *insn, rtx testreg) value = SET_DEST (part); } } - else if (GET_CODE (part) != CLOBBER) + else if (GET_CODE (part) != CLOBBER + && GET_CODE (part) != USE) break; }