diff options
author | vries <vries@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-10-13 22:10:45 +0000 |
---|---|---|
committer | vries <vries@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-10-13 22:10:45 +0000 |
commit | 5f80a2b05cdf99f55dbf469cd45c27d0ff692b7b (patch) | |
tree | b665ebf30f00014559d844b98d11bcc6741fb5bb /gcc/cfganal.h | |
parent | 4fb48515f4ffe204b82e632aab05c7d075fedf81 (diff) | |
download | gcc-5f80a2b05cdf99f55dbf469cd45c27d0ff692b7b.tar.gz |
Check no unreachable blocks in inverted_post_order_compute
2015-10-14 Tom de Vries <tom@codesourcery.com>
* cfganal.c (verify_no_unreachable_blocks): New function.
(inverted_post_order_compute) [ENABLE_CHECKING]: Call
verify_no_unreachable_blocks.
cfganal.h (verify_no_unreachable_blocks): Declare.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@228789 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cfganal.h')
-rw-r--r-- | gcc/cfganal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/cfganal.h b/gcc/cfganal.h index 3eb47648099..2ad00c0e705 100644 --- a/gcc/cfganal.h +++ b/gcc/cfganal.h @@ -49,6 +49,7 @@ private: extern bool mark_dfs_back_edges (void); extern void find_unreachable_blocks (void); +extern void verify_no_unreachable_blocks (void); struct edge_list * create_edge_list (void); void free_edge_list (struct edge_list *); void print_edge_list (FILE *, struct edge_list *); |