re PR tree-optimization/71230 (ICE : in zero_one_operation, at tree-ssa-reassoc.c...
authorRichard Biener <rguenther@suse.de>
Tue, 24 May 2016 14:35:36 +0000 (14:35 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 24 May 2016 14:35:36 +0000 (14:35 +0000)
commite5328f5dc2bc46eedf1d367de0bd751d43f1311d
tree3e7c51013c73ad079750221df2bef6bfcd99e8ad
parentfce57248c89d5b990d1f82a2f8eba5a9741c9ad9
re PR tree-optimization/71230 (ICE : in zero_one_operation, at tree-ssa-reassoc.c:1230)

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

PR tree-optimization/71230
* tree-ssa-reassoc.c (zero_one_operation): Handle negate special ops.

* gcc.dg/torture/pr71230.c: New testcase.
* g++.dg/torture/pr71230.C: Likewise.

From-SVN: r236643
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/torture/pr71230.C [new file with mode: 0644]
gcc/testsuite/gcc.dg/torture/pr71230.c [new file with mode: 0644]
gcc/tree-ssa-reassoc.c