re PR tree-optimization/91126 (Incorrect constant propagation of BIT_FIELD_REF)
authorRichard Biener <rguenther@suse.de>
Wed, 10 Jul 2019 13:40:12 +0000 (13:40 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 10 Jul 2019 13:40:12 +0000 (13:40 +0000)
commit95efa2279195e2b86afc986fd6e917c2704575d0
tree105e4c3b8bf6849304983cdf0bfab3986c711b34
parent8389386c6d55d57afc3ae01f71546ac4468f7926
re PR tree-optimization/91126 (Incorrect constant propagation of BIT_FIELD_REF)

2019-07-10  Richard Biener  <rguenther@suse.de>

PR tree-optimization/91126
* tree-ssa-sccvn.c (n_walk_cb_data::push_partial_def): Adjust
native encoding offset for BYTES_BIG_ENDIAN.
(vn_reference_lookup_3): Likewise.

* gcc.dg/torture/pr91126.c: New testcase.

From-SVN: r273355
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr91126.c [new file with mode: 0644]
gcc/tree-ssa-sccvn.c