2013-10-30 Richard Biener <rguenther@suse.de>
commitf484312fbab6135dc4ac30fbc504ae02848794e3
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 30 Oct 2013 14:22:01 +0000 (30 14:22 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 30 Oct 2013 14:22:01 +0000 (30 14:22 +0000)
tree457fdcb67b1c577c541ea2d0bca4de7a96d2ed55
parent06cfe8053727d82556cf0d37e53dd6e09ef2d6e6
2013-10-30  Richard Biener  <rguenther@suse.de>

PR middle-end/57100
* basic-block.h (pre_and_rev_post_order_compute_fn): New function.
* cfganal.c (pre_and_rev_post_order_compute_fn): New function
as worker for ...
(pre_and_rev_post_order_compute): ... which now wraps it.
* graph.c (draw_cfg_nodes_no_loops): Use
pre_and_rev_post_order_compute_fn to avoid ICEing and dependence
on cfun.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204211 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/basic-block.h
gcc/cfganal.c
gcc/graph.c