From: Graham Stott Date: Mon, 6 May 2013 22:08:56 +0000 (+0000) Subject: 013-05-06 Graham Stott X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a8fd4225625f365590a52d09a1f51caa6965e548;p=gcc.git 013-05-06 Graham Stott * gensupport.c (add_predicate_code): Also exclude SCRATCH from rtx codes which allow non-lvalues. From-SVN: r198653 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d813433e124..6bb5c2b4fba 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +013-05-06 Graham Stott + + * gensupport.c (add_predicate_code): Also exclude SCRATCH from rtx + codes which allow non-lvalues. + 2013-05-06 Marc Glisse * tree.c (integer_all_onesp) : Test that both 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)