Patch from Jes Sorensen for build failure.

* ia64.c (errata_emit_nops): Add VOIDmode as second argument to
	shladd_operand() call.

From-SVN: r39775
This commit is contained in:
Jes Sorensen 2001-02-16 19:33:52 +00:00 committed by Jim Wilson
parent 172890a2dd
commit f5bbdc0c54
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2001-02-16 Jes Sorensen <jes@linuxcare.com>
* ia64.c (errata_emit_nops): Add VOIDmode as second argument to
shladd_operand() call.
2001-02-16 Bruce Korb <bkorb@gnu.org>
Rodney Brown <RodneyBrown@mynd.com>

View File

@ -4643,7 +4643,7 @@ errata_emit_nops (insn)
&& GET_CODE (SET_SRC (set)) != PLUS
&& GET_CODE (SET_SRC (set)) != MINUS
&& (GET_CODE (SET_SRC (set)) != ASHIFT
|| !shladd_operand (XEXP (SET_SRC (set), 1)))
|| !shladd_operand (XEXP (SET_SRC (set), 1), VOIDmode))
&& (GET_CODE (SET_SRC (set)) != MEM
|| GET_CODE (XEXP (SET_SRC (set), 0)) != POST_MODIFY)
&& GENERAL_REGNO_P (REGNO (SET_DEST (set))))