aboutsummaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorJoern Rennecke <joern.rennecke@embecosm.com>2014-09-06 16:14:47 +0000
committerJoern Rennecke <amylaar@gcc.gnu.org>2014-09-06 17:14:47 +0100
commit9af539fe309b5b8d2f3f6498f1ddaff5ff74106e (patch)
tree330b2d488e8bd1cb124098a06fe0e428d28631d1 /gcc/config
parentdfca07ead8fc52ad6ffd15b4da8a7accf6684c2b (diff)
downloadgcc-9af539fe309b5b8d2f3f6498f1ddaff5ff74106e.zip
gcc-9af539fe309b5b8d2f3f6498f1ddaff5ff74106e.tar.gz
gcc-9af539fe309b5b8d2f3f6498f1ddaff5ff74106e.tar.bz2
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
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/arc/arc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/arc/arc.c b/gcc/config/arc/arc.c
index 0b6fcb1..1d7f3b8 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));