reload1.c (move2add_note_store): Correct typo checking for argument pushes.

* reload1.c (move2add_note_store): Correct typo checking for
	argument pushes.

From-SVN: r45279
This commit is contained in:
Geoffrey Keating 2001-08-29 23:18:51 +00:00 committed by Geoffrey Keating
parent 9500c9029d
commit 52fdbf26b6
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2001-08-29 Geoffrey Keating <geoffk@redhat.com>
* reload1.c (move2add_note_store): Correct typo checking for
argument pushes.
2001-08-29 Andrew MacLeod <amacleod@redhat.com>
* gcse.c (compute_hash_table): The SRC part of an insn with a RETVAL

View file

@ -9300,7 +9300,7 @@ move2add_note_store (dst, set, data)
if (GET_CODE (dst) == MEM)
{
dst = XEXP (dst, 0);
if (GET_CODE (dst) == PRE_INC || GET_CODE (dst) == POST_DEC
if (GET_CODE (dst) == PRE_INC || GET_CODE (dst) == POST_INC
|| GET_CODE (dst) == PRE_DEC || GET_CODE (dst) == POST_DEC)
reg_set_luid[REGNO (XEXP (dst, 0))] = 0;
return;