* gcse.c (bypass_conditional_jumps): Use single set to obtain set.

From-SVN: r54165
This commit is contained in:
Jan Hubicka 2002-06-02 12:21:39 +02:00 committed by Jan Hubicka
parent e7e9d24291
commit 92e34b6718
2 changed files with 6 additions and 1 deletions

View File

@ -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>
* rtlanal.c (volatile_refs_p): Not automatically true for CALL.

View File

@ -4541,12 +4541,13 @@ bypass_conditional_jumps ()
insn = NEXT_INSN (insn))
if (GET_CODE (insn) == INSN)
{
rtx set = single_set (insn);
if (setcc)
break;
if (!single_set (insn))
break;
dest = SET_DEST (PATTERN (insn));
dest = SET_DEST (set);
if (GET_MODE_CLASS (GET_MODE (dest)) == MODE_CC)
setcc = insn;
#ifdef HAVE_cc0