re PR tree-optimization/91178 (Infinite recursion in split_constant_offset in slp...
authorRichard Biener <rguenther@suse.de>
Wed, 31 Jul 2019 09:46:18 +0000 (09:46 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 31 Jul 2019 09:46:18 +0000 (09:46 +0000)
commit0fbdb0c08856e9c37373cf04faef3213c3903531
tree6b6a711293c01257c59e73102c96bf15dad0a945
parent1104467f3933078a019df1fb89149f5da39f7953
re PR tree-optimization/91178 (Infinite recursion in split_constant_offset in slp after r260289)

2019-07-31  Richard Biener  <rguenther@suse.de>

PR tree-optimization/91178
* tree-ssa-sccvn.c (vn_reference_maybe_forwprop_address):
Use tail-recursion.

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

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