aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2000-12-13 18:52:49 +0000
committerJan Hubicka <hubicka@gcc.gnu.org>2000-12-13 18:52:49 +0000
commita4377974da3e1e70fe9efcf160c028492828e596 (patch)
treee1d2073bf460451fd7f5135161555b4f1c62f544 /gcc
parentb114d8ed2e78211d84a05d130e9506feb0520b7e (diff)
downloadgcc-a4377974da3e1e70fe9efcf160c028492828e596.zip
gcc-a4377974da3e1e70fe9efcf160c028492828e596.tar.gz
gcc-a4377974da3e1e70fe9efcf160c028492828e596.tar.bz2
flow.c (notice_stack_pointer_modification_1): Notice midifications using PRE_MODIFY and POST_MODIFY.
* flow.c (notice_stack_pointer_modification_1): Notice midifications using PRE_MODIFY and POST_MODIFY. From-SVN: r38226
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/flow.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 683cf71..a53a1c0 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+Wed Dec 13 19:48:04 MET 2000 Jan hubicka <jh@suse.cz>
+
+ * flow.c (notice_stack_pointer_modification_1): Notice midifications
+ using PRE_MODIFY and POST_MODIFY.
+
Wed Dec 13 17:25:32 MET 2000 Jan Hubicka <jh@suse.cz>
* genoutput.c (process_template): Add sanity checking for '@' templates.
diff --git a/gcc/flow.c b/gcc/flow.c
index 92b5002..96eb725 100644
--- a/gcc/flow.c
+++ b/gcc/flow.c
@@ -3159,6 +3159,8 @@ notice_stack_pointer_modification_1 (x, pat, data)
|| (GET_CODE (x) == MEM
&& (GET_CODE (XEXP (x, 0)) == PRE_DEC
|| GET_CODE (XEXP (x, 0)) == PRE_INC
+ || GET_CODE (XEXP (x, 0)) == PRE_MODIFY
+ || GET_CODE (XEXP (x, 0)) == POST_MODIFY
|| GET_CODE (XEXP (x, 0)) == POST_DEC
|| GET_CODE (XEXP (x, 0)) == POST_INC)
&& XEXP (XEXP (x, 0), 0) == stack_pointer_rtx))