This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

gcc-CVS ia64 compile fix


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]