From: Joern Rennecke Date: Sat, 6 Sep 2014 16:14:47 +0000 (+0000) Subject: arc.c (arc_predicate_delay_insns): Swap comparison arguments to silence bogus warning. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9af539fe309b5b8d2f3f6498f1ddaff5ff74106e;p=gcc.git arc.c (arc_predicate_delay_insns): Swap comparison arguments to silence bogus warning. * config/arc/arc.c (arc_predicate_delay_insns): Swap comparison arguments to silence bogus warning. From-SVN: r214993 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index bd824e7bce6..3596380d1c3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,7 +1,10 @@ 2014-09-06 Joern Rennecke * config/arc/arc.c (arc_print_operand): Fix format for HOST_WIDE_INT. - * arc_output_mi_thunk: Likewise. + (arc_output_mi_thunk): Likewise. + + * config/arc/arc.c (arc_predicate_delay_insns): Swap comparison + arguments to silence bogus warning. 2014-09-06 Richard Sandiford diff --git a/gcc/config/arc/arc.c b/gcc/config/arc/arc.c index 0b6fcb1a911..1d7f3b80818 100644 --- a/gcc/config/arc/arc.c +++ b/gcc/config/arc/arc.c @@ -8401,7 +8401,7 @@ arc_predicate_delay_insns (void) reverse = 1; else gcc_unreachable (); - if (!INSN_FROM_TARGET_P (dlay) != reverse) + if (reverse != !INSN_FROM_TARGET_P (dlay)) { enum machine_mode ccm = GET_MODE (XEXP (cond, 0)); enum rtx_code code = reverse_condition (GET_CODE (cond));