* gcse.c (bypass_conditional_jumps): Use single set to obtain set.
From-SVN: r54165
This commit is contained in:
parent
e7e9d24291
commit
92e34b6718
|
@ -1,3 +1,7 @@
|
||||||
|
Sun Jun 2 12:11:52 CEST 2002 Jan Hubicka <jh@suse.cz>
|
||||||
|
|
||||||
|
* gcse.c (bypass_conditional_jumps): Use single set to obtain set.
|
||||||
|
|
||||||
2002-06-02 Richard Henderson <rth@redhat.com>
|
2002-06-02 Richard Henderson <rth@redhat.com>
|
||||||
|
|
||||||
* rtlanal.c (volatile_refs_p): Not automatically true for CALL.
|
* rtlanal.c (volatile_refs_p): Not automatically true for CALL.
|
||||||
|
|
|
@ -4541,12 +4541,13 @@ bypass_conditional_jumps ()
|
||||||
insn = NEXT_INSN (insn))
|
insn = NEXT_INSN (insn))
|
||||||
if (GET_CODE (insn) == INSN)
|
if (GET_CODE (insn) == INSN)
|
||||||
{
|
{
|
||||||
|
rtx set = single_set (insn);
|
||||||
if (setcc)
|
if (setcc)
|
||||||
break;
|
break;
|
||||||
if (!single_set (insn))
|
if (!single_set (insn))
|
||||||
break;
|
break;
|
||||||
|
|
||||||
dest = SET_DEST (PATTERN (insn));
|
dest = SET_DEST (set);
|
||||||
if (GET_MODE_CLASS (GET_MODE (dest)) == MODE_CC)
|
if (GET_MODE_CLASS (GET_MODE (dest)) == MODE_CC)
|
||||||
setcc = insn;
|
setcc = insn;
|
||||||
#ifdef HAVE_cc0
|
#ifdef HAVE_cc0
|
||||||
|
|
Loading…
Reference in New Issue