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
This commit is contained in:
Joern Rennecke 2014-09-06 16:14:47 +00:00 committed by Joern Rennecke
parent dfca07ead8
commit 9af539fe30
2 changed files with 5 additions and 2 deletions

View File

@ -1,7 +1,10 @@
2014-09-06 Joern Rennecke <joern.rennecke@embecosm.com>
* 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 <rdsandiford@googlemail.com>

View File

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