From: Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
To: <gcc-patches@gcc.gnu.org>
Cc: <Claudiu.Zissulescu@synopsys.com>, <gnu@amylaar.uk>,
<Francois.Bedard@synopsys.com>, <jeremy.bennett@embecosm.com>
Subject: [PATCH 2/2] [ARC] Reject constant-constant comparison.
Date: Mon, 25 Jan 2016 13:34:00 -0000 [thread overview]
Message-ID: <1453728823-32064-3-git-send-email-claziss@synopsys.com> (raw)
In-Reply-To: <1453728823-32064-1-git-send-email-claziss@synopsys.com>
gcc/
2016-01-25 Claudiu Zissulescu <claziss@synopsys.com>
* config/arc/predicates.md (proper_comparison_operator): Reject
constant-constant comparison.
---
gcc/config/arc/predicates.md | 2 ++
1 file changed, 2 insertions(+)
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 ();
}
--
1.9.1
next prev parent reply other threads:[~2016-01-25 13:34 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-25 13:34 [PATCH 0/2] [ARC] Small fixes Claudiu Zissulescu
2016-01-25 13:34 ` [PATCH 1/2] [ARC] Fix arcset* pattern's predicate Claudiu Zissulescu
2016-01-25 13:34 ` Claudiu Zissulescu [this message]
2016-01-25 14:49 ` [PATCH 0/2] [ARC] Small fixes Joern Wolfgang Rennecke
2016-01-25 14:56 ` Claudiu Zissulescu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1453728823-32064-3-git-send-email-claziss@synopsys.com \
--to=claudiu.zissulescu@synopsys.com \
--cc=Francois.Bedard@synopsys.com \
--cc=gcc-patches@gcc.gnu.org \
--cc=gnu@amylaar.uk \
--cc=jeremy.bennett@embecosm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).