re PR tree-optimization/87168 (ICE on valid code at -Os and above on x86_64-linux...
authorRichard Biener <rguenther@suse.de>
Fri, 31 Aug 2018 16:50:13 +0000 (16:50 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 31 Aug 2018 16:50:13 +0000 (16:50 +0000)
commitd5481391bc0d71df048476dfb471afb86e9621d9
tree5d0e9cb40c42f1eb7a3436fbc49824dd3db44ff5
parent01540df292a21926c326d8b9478becfe39459fbf
re PR tree-optimization/87168 (ICE on valid code at -Os and above on x86_64-linux-gnu: verify_ssa failed)

2018-08-31  Richard Biener  <rguenther@suse.de>

PR tree-optimization/87168
* tree-ssa-sccvn.c (SSA_VAL): Add visited output parameter.
(rpo_elim::eliminate_avail): When OP was not visited it must
be available.

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

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