re PR rtl-optimization/85180 (Infinite loop in RTL DSE optimizer)
authorRichard Biener <rguenther@suse.de>
Fri, 6 Apr 2018 08:30:52 +0000 (08:30 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 6 Apr 2018 08:30:52 +0000 (08:30 +0000)
commit6ca838330b632ebbe339a65d194afb0d863ddc21
tree4dc06620d842bb76804b0257be5eed6e40596bf8
parent54ebcca7952144986748e819751cce0c6ebba2d2
re PR rtl-optimization/85180 (Infinite loop in RTL DSE optimizer)

2018-04-06  Richard Biener  <rguenther@suse.de>

PR middle-end/85180
* alias.c (find_base_term): New wrapper around find_base_term
unwinding CSELIB_VAL_PTR changes.
(find_base_term): Do not restore CSELIB_VAL_PTR during the
recursion.

* gcc.dg/pr85180.c: New testcase.

From-SVN: r259166
gcc/ChangeLog
gcc/alias.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr85180.c [new file with mode: 0644]