diff options
| -rw-r--r-- | gcc/ChangeLog | 3 | ||||
| -rw-r--r-- | gcc/resource.c | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9edbc2ac3c9..51bec88c854 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -20,6 +20,9 @@ Fri Feb 25 19:49:08 2000 Jeffrey A Law (law@cygnus.com) Fri Feb 25 19:22:44 2000 Graham Stott <grahams@rcp.co.uk> + * resource.c (mark_referenced_resources): Changed use SET_DEST (...) + to XEXP (..., 0) on RTL nodes which are not SET or CLOBBER. + * i386.md (define_expand "clrstrsi"): Fix typo. Fri Feb 25 18:49:39 2000 "K. Richard Pixley" <rich@microunity.com> diff --git a/gcc/resource.c b/gcc/resource.c index 274cb230994..9d580867a9a 100644 --- a/gcc/resource.c +++ b/gcc/resource.c @@ -350,11 +350,11 @@ mark_referenced_resources (x, res, include_delayed_effects) rtx slot_pat = PATTERN (XVECEXP (sequence, 0, i)); if (GET_CODE (slot_pat) == SET && rtx_equal_p (SET_DEST (slot_pat), - SET_DEST (XEXP (link, 0)))) + XEXP (XEXP (link, 0), 0))) break; } if (i >= seq_size) - mark_referenced_resources (SET_DEST (XEXP (link, 0)), + mark_referenced_resources (XEXP (XEXP (link, 0), 0), res, 0); } } |

