re PR tree-optimization/92618 (error: type mismatch in binary expression in reassoc...
authorJakub Jelinek <jakub@redhat.com>
Fri, 22 Nov 2019 18:17:04 +0000 (19:17 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 22 Nov 2019 18:17:04 +0000 (19:17 +0100)
commit204b0bebee5343b5bd07e2a7be6fd74d6698b937
tree052293e4a3a5094dff1140f32ce16b304bf224ef
parent54aa6b58fe2fe73bbe67e0485777e0c410a18673
re PR tree-optimization/92618 (error: type mismatch in binary expression in reassoc since r273490)

PR tree-optimization/92618
* tree-ssa-reassoc.c (v_info): Change from auto_vec to a struct
containing the auto_vec and a tree.
(undistribute_bitref_for_vector): Handle the case when element type
of vec is not the same as type of the BIT_FIELD_REF.  Formatting
fixes.

* gcc.c-torture/compile/pr92618.c: New test.
* gcc.c-torture/execute/pr92618.c: New test.

From-SVN: r278626
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr92618.c [new file with mode: 0644]
gcc/testsuite/gcc.c-torture/execute/pr92618.c [new file with mode: 0644]
gcc/tree-ssa-reassoc.c