re PR tree-optimization/33340 (ICE: SSA corruption with -O (FRE))
authorRichard Guenther <rguenther@suse.de>
Tue, 18 Sep 2007 08:46:23 +0000 (08:46 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 18 Sep 2007 08:46:23 +0000 (08:46 +0000)
commitfe4fefa0e080704dbd17cd662fa20b0f66818a50
tree79596190e659803867abccc985dbf62d3ac38592
parent4a9658279646ba0d7c8bf7c11ba709fb612e6cf0
re PR tree-optimization/33340 (ICE: SSA corruption   with -O (FRE))

2007-09-18  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/33340
* tree-ssa-sccvn.c (set_ssa_val_to): Do not set values to
SSA_NAMEs that occur in abnormal PHI nodes.

* g++.dg/torture/pr33340.C: New testcase.

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