summaryrefslogtreecommitdiff
path: root/gcc/resource.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/resource.c')
-rw-r--r--gcc/resource.c6
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: