Incorrect arithmetic optimization involving bitfield arguments
authorKugan Vivekanandarajah <kuganv@linaro.org>
Wed, 21 Sep 2016 03:28:24 +0000 (03:28 +0000)
committerKugan Vivekanandarajah <kugan@gcc.gnu.org>
Wed, 21 Sep 2016 03:28:24 +0000 (03:28 +0000)
commit664540008bf3784a9b9995da0a1696d02c5ffea5
tree4d1a86951ab4c6c41b78407d8ec0bacde7be22ed
parent88d0c3f0a1448e71dcf49c2f34909ec8d7ce348f
Incorrect arithmetic optimization involving bitfield arguments

gcc/ChangeLog:

2016-09-21  Kugan Vivekanandarajah  <kuganv@linaro.org>

PR tree-optimization/72835
* tree-ssa-reassoc.c (make_new_ssa_for_def): New.
(make_new_ssa_for_all_defs): Likewise.
(zero_one_operation): Replace all SSA_NAMEs defined in the chain.

gcc/testsuite/ChangeLog:

2016-09-21  Kugan Vivekanandarajah  <kuganv@linaro.org>

PR tree-optimization/72835
* gcc.dg/tree-ssa/pr72835.c: New test.

From-SVN: r240299
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/pr72835.c [new file with mode: 0644]
gcc/tree-ssa-reassoc.c