re PR tree-optimization/70623 (ICE in compute_antic at -O2)
authorRichard Biener <rguenther@suse.de>
Thu, 14 Apr 2016 07:30:53 +0000 (07:30 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 14 Apr 2016 07:30:53 +0000 (07:30 +0000)
commit6db61d6f3961365a6efb26af9366da5baeb74275
tree9e98dff70f5a37f1fd638289b140d7e1595ed361
parent16f87bed36630c18ad4af8ac7456d04ee14f7830
re PR tree-optimization/70623 (ICE in compute_antic at -O2)

2016-04-14  Richard Biener  <rguenther@suse.de>

PR tree-optimization/70623
* tree-ssa-pre.c (changed_blocks): Make global ...
(compute_antic): ... local here.  Move and fix worklist
handling here.  Do not clear EDGE_DFS_BACK or call mark_dfs_back_edges.
(compute_antic_aux): Add dumping for MAX assumed succs.  Remove
worklist handling, dump when ANTIC_IN changed.
(compute_partial_antic_aux): Remove worklist handling.
(init_pre): Do not compute post dominators.  Add a comment about
the CFG order chosen.
(fini_pre): Do not free post dominators.

* gcc.dg/torture/pr70623.c: New testcase.
* gcc.dg/torture/pr70623-2.c: Likewise.

From-SVN: r234970
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr70623-2.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/torture/pr70623.c [new file with mode: 0644]
gcc/tree-ssa-pre.c