re PR tree-optimization/48822 (G++ gets stucks and never finishes compilation when...
authorRichard Guenther <rguenther@suse.de>
Mon, 2 May 2011 13:11:27 +0000 (13:11 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 2 May 2011 13:11:27 +0000 (13:11 +0000)
commit90bc462321f77fb63a04bb3d73bfa54267087b26
tree2bebdc1626ad94e349f185dd860edaef39f741f1
parent9fd15228e24f6f1420437deeac052dd7342444a4
re PR tree-optimization/48822 (G++ gets stucks and never finishes compilation when enabling -O2/3 optimization options.)

2011-05-02  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/48822
* tree-ssa-sccvn.c (set_ssa_val_to): Never go up the lattice.
(process_scc): Indicate which iteration we start.

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

From-SVN: r173250
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr48822.c [new file with mode: 0644]
gcc/tree-ssa-sccvn.c