re PR tree-optimization/80974 (wrong code (generated code hangs) at -O2 on x86_64...
authorRichard Biener <rguenther@suse.de>
Tue, 6 Jun 2017 12:46:41 +0000 (12:46 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 6 Jun 2017 12:46:41 +0000 (12:46 +0000)
commit331dc84013b27d0f13c640262248e51a5864d26d
tree365ee2a809f0ad3977898a23486965220a381600
parent38827811dd5d0e07c8f31d780732d3e429aee4fa
re PR tree-optimization/80974 (wrong code (generated code hangs) at -O2 on x86_64-linux-gnu)

2017-06-06  Richard Biener  <rguenther@suse.de>

PR tree-optimization/80974
* tree-ssa-sccvn.c (set_ssa_val_to): Do not change but only
keep or clear leaders SSA info.

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

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