summaryrefslogtreecommitdiff
path: root/gcc/gensupport.c
diff options
context:
space:
mode:
authorgrahams <grahams@138bc75d-0d04-0410-961f-82ee72b054a4>2013-05-06 22:08:56 +0000
committergrahams <grahams@138bc75d-0d04-0410-961f-82ee72b054a4>2013-05-06 22:08:56 +0000
commit7e91113ed1f38f6dd5619f060abafe6716789c43 (patch)
tree8ad9fcb7150330d8b300298a021390e4d8b4423a /gcc/gensupport.c
parent5a4f30166dccf760545c16e29a6236d9a023b8ab (diff)
downloadgcc-7e91113ed1f38f6dd5619f060abafe6716789c43.tar.gz
013-05-06 Graham Stott <grahams@btinternet.com>
* gensupport.c (add_predicate_code): Also exclude SCRATCH from rtx codes which allow non-lvalues. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@198653 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gensupport.c')
-rw-r--r--gcc/gensupport.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/gensupport.c b/gcc/gensupport.c
index 9b9a03ef62b..1092bd8111e 100644
--- a/gcc/gensupport.c
+++ b/gcc/gensupport.c
@@ -2732,7 +2732,8 @@ add_predicate_code (struct pred_data *pred, enum rtx_code code)
&& code != MEM
&& code != CONCAT
&& code != PARALLEL
- && code != STRICT_LOW_PART)
+ && code != STRICT_LOW_PART
+ && code != SCRATCH)
pred->allows_non_lvalue = true;
if (pred->num_codes == 1)