diff options
author | m.hayes <m.hayes@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-12-21 22:15:22 +0000 |
---|---|---|
committer | m.hayes <m.hayes@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-12-21 22:15:22 +0000 |
commit | a3da82152c1ade778d1e1a14a721a0c84d47ae23 (patch) | |
tree | d36c553db3362b4801d46913f292c9c157e20a54 /gcc/resource.c | |
parent | 7524d23a4f3d6b92c6b5d0282f539d9889e23b5e (diff) | |
download | gcc-a3da82152c1ade778d1e1a14a721a0c84d47ae23.tar.gz |
* resource.c (mark_set_resources): Use MARK_SRC_DEST for
PRE_MODIFY and POST_MODIFY cases.
* rtlanal.c (side_effects_p): Handle PRE_MODIFY and POST_MODIFY.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38429 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/resource.c')
-rw-r--r-- | gcc/resource.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/resource.c b/gcc/resource.c index 4faaedf9a81..979de4d5cc9 100644 --- a/gcc/resource.c +++ b/gcc/resource.c @@ -723,9 +723,9 @@ mark_set_resources (x, res, in_dest, mark_type) case PRE_MODIFY: case POST_MODIFY: - mark_set_resources (XEXP (x, 0), res, 1, 0); - mark_set_resources (XEXP (XEXP (x, 1), 0), res, 0, 0); - mark_set_resources (XEXP (XEXP (x, 1), 1), res, 0, 0); + mark_set_resources (XEXP (x, 0), res, 1, MARK_SRC_DEST); + mark_set_resources (XEXP (XEXP (x, 1), 0), res, 0, MARK_SRC_DEST); + mark_set_resources (XEXP (XEXP (x, 1), 1), res, 0, MARK_SRC_DEST); return; case SIGN_EXTRACT: |