Patch from Jes Sorensen for build failure.
authorwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 16 Feb 2001 19:33:52 +0000 (19:33 +0000)
committerwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 16 Feb 2001 19:33:52 +0000 (19:33 +0000)
* ia64.c (errata_emit_nops): Add VOIDmode as second argument to
shladd_operand() call.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39775 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/ia64/ia64.c

index 1f9ca43..559a72d 100644 (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>
 
index 8b9e0b0..fbbec96 100644 (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))))