re PR tree-optimization/78675 (ICE: verify_gimple failed (error: integral result...
authorJakub Jelinek <jakub@redhat.com>
Tue, 6 Dec 2016 09:21:13 +0000 (10:21 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 6 Dec 2016 09:21:13 +0000 (10:21 +0100)
commit0d3ce69b79ab7d7ea4a2fc4ed5e983ea6efcfa69
tree7f9d8dc400caf600f75a0bb3d128363ce3a62a6c
parentd7ae3739a200ea1c90ca20afbebfc627ee32cf49
re PR tree-optimization/78675 (ICE: verify_gimple failed (error: integral result type precision does not match field size of BIT_FIELD_REF))

2016-12-06  Jakub Jelinek  <jakub@redhat.com>

PR tree-optimization/78675
* tree-vect-loop.c (vectorizable_live_operation): For
VECTOR_BOOLEAN_TYPE_P vectype use integral type with bitsize precision
instead of TREE_TYPE (vectype) for the BIT_FIELD_REF.

* gcc.c-torture/execute/pr78675.c: New test.
* gcc.target/i386/pr78675-1.c: New test.
* gcc.target/i386/pr78675-2.c: New test.

From-SVN: r243283
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/pr78675.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/pr78675-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/pr78675-2.c [new file with mode: 0644]
gcc/tree-vect-loop.c