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
This commit is contained in:
Jan Hubicka 2000-12-13 18:52:49 +00:00 committed by Jan Hubicka
parent b114d8ed2e
commit a4377974da
2 changed files with 7 additions and 0 deletions

View File

@ -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.

View File

@ -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))