013-05-06 Graham Stott <grahams@btinternet.com>
authorGraham Stott <grahams@btinternet.com>
Mon, 6 May 2013 22:08:56 +0000 (22:08 +0000)
committerGraham Stott <grahams@gcc.gnu.org>
Mon, 6 May 2013 22:08:56 +0000 (22:08 +0000)
        * gensupport.c (add_predicate_code): Also exclude SCRATCH from rtx
        codes which allow non-lvalues.

From-SVN: r198653

gcc/ChangeLog
gcc/gensupport.c

index d813433e124d8b37fe3881698352eccc0fd1e76a..6bb5c2b4fbae7a2afb67a2b912e97e8dd1fe6b43 100644 (file)
@@ -1,3 +1,8 @@
+013-05-06  Graham Stott  <grahams@btinternet.com>
+
+       * gensupport.c (add_predicate_code): Also exclude SCRATCH from rtx
+       codes which allow non-lvalues.
+
 2013-05-06  Marc Glisse  <marc.glisse@inria.fr>
 
        * tree.c (integer_all_onesp) <COMPLEX_CST>: Test that both
index 9b9a03ef62b4af5f6a58c8ac771d7aa554ba064a..1092bd8111ea6e083e73a90e2ccac122b613e2ff 100644 (file)
@@ -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)