re PR tree-optimization/87266 (ICE: Segmentation fault (in useless_type_conversion_p...
authorRichard Biener <rguenther@suse.de>
Wed, 12 Sep 2018 12:14:27 +0000 (12:14 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 12 Sep 2018 12:14:27 +0000 (12:14 +0000)
commit28c4b740a64ccc3412ef4c01e3012e9013ad5bcb
tree23d4dadbe109d288896bf34415de7f06aa27d124
parentced8d882349226b8c566914826e8f59961240ad1
re PR tree-optimization/87266 (ICE: Segmentation fault (in useless_type_conversion_p, tree_nop_conversion_p, or is_gimple_reg_type))

2018-09-12  Richard Biener  <rguenther@suse.de>

PR tree-optimization/87266
* tree-ssa-sccvn.c (do_rpo_vn): Always iterate to not yet
visited blocks.

* gcc.dg/torture/pr87266-1.c: New testcase.
* gcc.dg/torture/pr87266-2.c: Likewise.
* gcc.dg/torture/pr87266-3.c: Likewise.
* gcc.dg/torture/pr87266-4.c: Likewise.

From-SVN: r264237
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr87266-1.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/torture/pr87266-2.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/torture/pr87266-3.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/torture/pr87266-4.c [new file with mode: 0644]
gcc/tree-ssa-sccvn.c