re PR tree-optimization/70780 (wrong code at -O2 and -O3 on x86_64-linux-gnu)
authorRichard Biener <rguenther@suse.de>
Mon, 25 Apr 2016 10:49:55 +0000 (10:49 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 25 Apr 2016 10:49:55 +0000 (10:49 +0000)
commitab99f46749d0f746c50dde27e845ed6e5f06aee4
tree7849aae88789ca5496d8e3c5ad4a134e378b42a7
parente52477c7e2525d9ebffcc47de2d226452e6fbafc
re PR tree-optimization/70780 (wrong code at -O2 and -O3 on x86_64-linux-gnu)

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

PR tree-optimization/70780
* tree-ssa-pre.c (compute_antic_aux): Also return true if the block
wasn't visited yet.
(compute_antic): Mark blocks with abnormal preds as visited as
they have a final empty antic-in solution already.

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

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