re PR middle-end/81502 (In some cases the data is moved to memory unnecessarily ...
commit9811e84c99df6269baa406c7f42d479b342087c4
authorRichard Biener <rguenther@suse.de>
Thu, 27 Jul 2017 12:01:21 +0000 (27 12:01 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 27 Jul 2017 12:01:21 +0000 (27 12:01 +0000)
tree691fa8f60a804bf8766bcf2e2a48a5c15e76b058
parent0919ce3efe2a0d6a20cb726feabe26dc3503db43
re PR middle-end/81502 (In some cases the data is moved to memory unnecessarily [partial regression])

2017-07-27  Richard Biener  <rguenther@suse.de>

PR tree-optimization/81502
* tree-ssa.c (non_rewritable_lvalue_p): Handle BIT_INSERT_EXPR
with incompatible but same sized type.
(execute_update_addresses_taken): Likewise.

* gcc.target/i386/vect-insert-1.c: New testcase.

From-SVN: r250620
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/vect-insert-1.c [new file with mode: 0644]
gcc/tree-ssa.c