gcc-CVS ia64 compile fix
Jes Sorensen
jes@linuxcare.com
Thu Feb 15 03:09:00 GMT 2001
Hi
This is needed to make gcc out of today's CVS compile. Feel free to
moan if the patch is incorrect.
Cheers
Jes
2001-02-15 Jes Sorensen <jes@linuxcare.com>
* ia64.c (errata_emit_nops): Add VOIDmode as second argument to
shladd_operand() call.
--- config/ia64/ia64.c-old Thu Feb 15 06:12:18 2001
+++ config/ia64/ia64.c Thu Feb 15 06:07:26 2001
@@ -4643,7 +4643,7 @@
&& 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))))
More information about the Gcc
mailing list