summaryrefslogtreecommitdiff
path: root/gcc/resource.c
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>2000-02-26 05:19:35 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>2000-02-26 05:19:35 +0000
commit2edca33989284e74547f04c643b671b6e669a5a8 (patch)
tree5e9d153196d76039471d540fa335902ade7fd4ce /gcc/resource.c
parent9215cfa3d31379e2944eb862390a02b717887229 (diff)
downloadgcc-2edca33989284e74547f04c643b671b6e669a5a8.tar.gz
* resource.c (mark_referenced_resources): Changed use SET_DEST (...)
to XEXP (..., 0) on RTL nodes which are not SET or CLOBBER. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32167 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/resource.c')
-rw-r--r--gcc/resource.c4
1 files changed, 2 insertions, 2 deletions
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);
}
}