summaryrefslogtreecommitdiff
path: root/gcc/gensupport.c
diff options
context:
space:
mode:
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)