From: Andreas Krebbel Date: Tue, 6 Sep 2005 08:15:35 +0000 (+0000) Subject: gcse.c (try_replace_reg): Disallow REG_EQUAL notes for STRICT_LOW_PART SETs. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=70a640af36dabccba824de7661405b5667ea57c7;p=platform%2Fupstream%2Fgcc.git gcse.c (try_replace_reg): Disallow REG_EQUAL notes for STRICT_LOW_PART SETs. 2005-09-06 Andreas Krebbel * gcse.c (try_replace_reg): Disallow REG_EQUAL notes for STRICT_LOW_PART SETs. From-SVN: r103934 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 88efaaf..3ab98be 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2005-09-06 Andreas Krebbel + + * gcse.c (try_replace_reg): Disallow REG_EQUAL notes for + STRICT_LOW_PART SETs. + 2005-09-06 Alan Modra PR middle-end/21460 diff --git a/gcc/gcse.c b/gcc/gcse.c index e2d35e2..f165363 100644 --- a/gcc/gcse.c +++ b/gcc/gcse.c @@ -2677,7 +2677,8 @@ try_replace_reg (rtx from, rtx to, rtx insn) have a note, and have no special SET, add a REG_EQUAL note to not lose information. */ if (!success && note == 0 && set != 0 - && GET_CODE (SET_DEST (set)) != ZERO_EXTRACT) + && GET_CODE (SET_DEST (set)) != ZERO_EXTRACT + && GET_CODE (SET_DEST (set)) != STRICT_LOW_PART) note = set_unique_reg_note (insn, REG_EQUAL, copy_rtx (src)); }