gensupport.c (add_predicate_code): Properly handle ZERO_EXTRACT as an lvalue.
authorJoern Rennecke <joern.rennecke@riscy-ip.com>
Thu, 15 Nov 2018 01:02:09 +0000 (01:02 +0000)
committerJoern Rennecke <amylaar@gcc.gnu.org>
Thu, 15 Nov 2018 01:02:09 +0000 (01:02 +0000)
        * gensupport.c (add_predicate_code): Properly handle ZERO_EXTRACT
        as an lvalue.

From-SVN: r266169

gcc/ChangeLog
gcc/gensupport.c

index 66a45c970a987732ff6262b90b00d38c6128585f..3b42488c3ac0f9e2e22225e8969a6bf4e7b3242c 100644 (file)
@@ -1,3 +1,8 @@
+2018-11-15  Joern Rennecke  <joern.rennecke@riscy-ip.com>
+
+       * gensupport.c (add_predicate_code): Properly handle ZERO_EXTRACT
+       as an lvalue.
+
 2018-11-14  Sandra Loosemore  <sandra@codesourcery.com>
 
        PR lto/55102
index 1d76af7ce5c433e15261c155f3c2c90b502b1e7b..41ad9bc383ecafa7b962e508b2441ada1b60bea7 100644 (file)
@@ -2827,6 +2827,7 @@ add_predicate_code (struct pred_data *pred, enum rtx_code code)
          && code != CONCAT
          && code != PARALLEL
          && code != STRICT_LOW_PART
+         && code != ZERO_EXTRACT
          && code != SCRATCH)
        pred->allows_non_lvalue = true;