re PR tree-optimization/71352 (ICE at -O1 and above on x86_64-linux-gnu: in zero_one_...
authorRichard Biener <rguenther@suse.de>
Tue, 31 May 2016 12:18:15 +0000 (12:18 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 31 May 2016 12:18:15 +0000 (12:18 +0000)
commit0d99f8a0705e47ca7fcee70f25cab0098ec64e48
tree85254d6388859050eae0e98b7d517d512f953dfb
parenta1293f402a25801d03a58312b06b65c33702c726
re PR tree-optimization/71352 (ICE at -O1 and above on x86_64-linux-gnu: in zero_one_operation, at tree-ssa-reassoc.c:1251)

2016-05-31  Richard Biener  <rguenther@suse.de>

PR tree-optimization/71352
* tree-ssa-reassoc.c (zero_one_operation): Handle op equal to
minus one and a negate.

* gcc.dg/tree-ssa/reassoc-45.c: New testcase.

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