gensupport.c (add_predicate_code): Properly handle ZERO_EXTRACT as an lvalue.

* gensupport.c (add_predicate_code): Properly handle ZERO_EXTRACT
        as an lvalue.

From-SVN: r266169
This commit is contained in:
Joern Rennecke 2018-11-15 01:02:09 +00:00 committed by Joern Rennecke
parent ef0336dc69
commit 4822d9cb75
2 changed files with 6 additions and 0 deletions

View 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

View 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;