re PR tree-optimization/88148 (ICE in tree_nop_conversion_p at gcc/tree.c:12550 since...
authorRichard Biener <rguenther@suse.de>
Thu, 22 Nov 2018 14:08:44 +0000 (14:08 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 22 Nov 2018 14:08:44 +0000 (14:08 +0000)
commite5f0e0412b9aa61d960ffbb83327415da226f266
treed266b058a6df69881af86beaa6a61db1bd683569
parent9479946c1fc1177c4709115c454b91395092e0db
re PR tree-optimization/88148 (ICE in tree_nop_conversion_p at gcc/tree.c:12550 since r264273)

2018-11-22  Richard Biener  <rguenther@suse.de>

PR tree-optimization/88148
* tree-ssa-loop-niter.c (simplify_replace_tree): Get optional
valueization callback parameter and handle it.
* tree-ssa-loop-niter.h (simplify_replace_tree): Export.
* tree-ssa-sccvn.c (process_bb): Eliminate in loop niter trees.

* gfortran.dg/pr88148.f90: New testcase.

From-SVN: r266378
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/pr88148.f90 [new file with mode: 0644]
gcc/tree-ssa-loop-niter.c
gcc/tree-ssa-loop-niter.h
gcc/tree-ssa-sccvn.c