This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
gcc-CVS ia64 compile fix
- To: gcc at gcc dot gnu dot org
- Subject: gcc-CVS ia64 compile fix
- From: Jes Sorensen <jes at linuxcare dot com>
- Date: Thu, 15 Feb 2001 06:13:32 -0500
- CC: wilson at cygnus dot com
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))))