From 9c822ac867dd8f31e20861f97b0211efd3f511a5 Mon Sep 17 00:00:00 2001 From: vries Date: Wed, 25 Nov 2015 11:28:49 +0000 Subject: Improve verification of loop->latch in verify_loop_structure 2015-11-25 Tom de Vries * cfgloop.c (find_single_latch): New function, factored out of ... (flow_loops_find): ... here. (verify_loop_structure): Improve verification of loop->latch. * cfgloop.h (find_single_latch): Declare. * omp-low.c (expand_omp_for_generic): Initialize latch of orig_loop. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@230866 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/cfgloop.h | 1 + 1 file changed, 1 insertion(+) (limited to 'gcc/cfgloop.h') diff --git a/gcc/cfgloop.h b/gcc/cfgloop.h index ee73bf994c1..7faf591796f 100644 --- a/gcc/cfgloop.h +++ b/gcc/cfgloop.h @@ -270,6 +270,7 @@ bool mark_irreducible_loops (void); void release_recorded_exits (function *); void record_loop_exits (void); void rescan_loop_exit (edge, bool, bool); +basic_block find_single_latch (struct loop*); /* Loop data structure manipulation/querying. */ extern void flow_loop_tree_node_add (struct loop *, struct loop *); -- cgit v1.2.1