Patch from Jes Sorensen for build failure.
authorJes Sorensen <jes@linuxcare.com>
Fri, 16 Feb 2001 19:33:52 +0000 (19:33 +0000)
committerJim Wilson <wilson@gcc.gnu.org>
Fri, 16 Feb 2001 19:33:52 +0000 (11:33 -0800)
* ia64.c (errata_emit_nops): Add VOIDmode as second argument to
shladd_operand() call.

From-SVN: r39775

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