combine.c (try_combine): Disregard USEs when updating LOG_LINKS of subsequent insns.

* combine.c (try_combine): Disregard USEs when updating LOG_LINKS
of subsequent insns.

From-SVN: r37905
This commit is contained in:
Alexandre Oliva 2000-12-01 01:08:40 +00:00 committed by Alexandre Oliva
parent f272085897
commit 95ac07b0f4
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2000-11-30 Alexandre Oliva <aoliva@redhat.com>
* combine.c (try_combine): Disregard USEs when updating LOG_LINKS
of subsequent insns.
2000-11-30 Richard Henderson <rth@redhat.com>
* config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Disable.

View File

@ -2553,7 +2553,8 @@ try_combine (i3, i2, i1, new_direct_jump_p)
if (i3_subst_into_i2 && GET_CODE (PATTERN (i2)) == PARALLEL)
{
for (i = 0; i < XVECLEN (PATTERN (i2), 0); i++)
if (GET_CODE (SET_DEST (XVECEXP (PATTERN (i2), 0, i))) == REG
if (GET_CODE (XVECEXP (PATTERN (i2), 0, i)) != USE
&& GET_CODE (SET_DEST (XVECEXP (PATTERN (i2), 0, i))) == REG
&& SET_DEST (XVECEXP (PATTERN (i2), 0, i)) != i2dest
&& ! find_reg_note (i2, REG_UNUSED,
SET_DEST (XVECEXP (PATTERN (i2), 0, i))))