aboutsummaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorClaudiu Zissulescu <claziss@synopsys.com>2016-01-27 10:29:16 +0100
committerClaudiu Zissulescu <claziss@gcc.gnu.org>2016-01-27 10:29:16 +0100
commitdfa654c8cf28dc2f85ccb45b85de3ee26edcc580 (patch)
treee89df8a63c0f4f539a69c817e8d5f2d0db03975f /gcc/config
parentce7e8f00e1663cdc0e67a754e40d6d273154f7a4 (diff)
downloadgcc-dfa654c8cf28dc2f85ccb45b85de3ee26edcc580.zip
gcc-dfa654c8cf28dc2f85ccb45b85de3ee26edcc580.tar.gz
gcc-dfa654c8cf28dc2f85ccb45b85de3ee26edcc580.tar.bz2
[ARC] Reject constant-constant comparison.
gcc/ 2016-01-27 Claudiu Zissulescu <claziss@synopsys.com> * config/arc/predicates.md (proper_comparison_operator): Reject constant-constant comparison. From-SVN: r232868
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/arc/predicates.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/config/arc/predicates.md b/gcc/config/arc/predicates.md
index 52ac2ac..d384d70 100644
--- a/gcc/config/arc/predicates.md
+++ b/gcc/config/arc/predicates.md
@@ -510,6 +510,8 @@
/* From combiner. */
case QImode: case HImode: case DImode: case SFmode: case DFmode:
return 0;
+ case VOIDmode:
+ return 0;
default:
gcc_unreachable ();
}