From: Jes Sorensen Date: Fri, 16 Feb 2001 19:33:52 +0000 (+0000) Subject: Patch from Jes Sorensen for build failure. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f5bbdc0c54c34e18958bfb74fb7bb831ba05fa12;p=gcc.git Patch from Jes Sorensen for build failure. * ia64.c (errata_emit_nops): Add VOIDmode as second argument to shladd_operand() call. From-SVN: r39775 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1f9ca43e157..559a72d94e0 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2001-02-16 Jes Sorensen + + * ia64.c (errata_emit_nops): Add VOIDmode as second argument to + shladd_operand() call. + 2001-02-16 Bruce Korb Rodney Brown diff --git a/gcc/config/ia64/ia64.c b/gcc/config/ia64/ia64.c index 8b9e0b01457..fbbec966b62 100644 --- a/gcc/config/ia64/ia64.c +++ b/gcc/config/ia64/ia64.c @@ -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))))