tree-ssa-pre.c (print_pre_expr): Handle NULL expr.
authorRichard Biener <rguenther@suse.de>
Tue, 1 Aug 2017 10:47:14 +0000 (10:47 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 1 Aug 2017 10:47:14 +0000 (10:47 +0000)
commit34e5c5116fa58f77ea5eef61d8fb6b9e91c92d79
tree6180256fcd038c7f361f782de52817a7c47b4fb4
parent35c38fa674ab01152c743f421226f3cbc829cd94
tree-ssa-pre.c (print_pre_expr): Handle NULL expr.

2017-08-01  Richard Biener  <rguenther@suse.de>

* tree-ssa-pre.c (print_pre_expr): Handle NULL expr.
(compute_antic): Seed worklist with exit block predecessors.
* cfganal.c (dfs_find_deadend): For a cycle return the source
of the edge closing it.

* gcc.dg/tree-ssa/ssa-dce-3.c: Adjust.
* gcc.dg/tree-ssa/split-path-5.c: Remove case with just dead
endless loop.
* gcc.dg/uninit-23.c: Adjust.

From-SVN: r250767
gcc/ChangeLog
gcc/cfganal.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/split-path-5.c
gcc/testsuite/gcc.dg/tree-ssa/ssa-dce-3.c
gcc/testsuite/gcc.dg/uninit-23.c
gcc/tree-ssa-pre.c