* tree-ssa-loop-ch.c (copy_loop_headers): Loop can be null.
* tree-ssa-loop-im.c (determine_lsm): tree_root may not have a real
inner loop.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92048
138bc75d-0d04-0410-961f-
82ee72b054a4
+2004-12-13 Daniel Berlin <dberlin@dberlin.org>
+
+ * tree-ssa-loop-ch.c (copy_loop_headers): Loop can be null.
+ * tree-ssa-loop-im.c (determine_lsm): tree_root may not have a real
+ inner loop.
+
2004-12-12 Diego Novillo <dnovillo@redhat.com>
* tree-gimple.c (get_base_address): Update documentation.
int limit = 20;
loop = loops->parray[i];
+ if (!loop)
+ continue;
header = loop->header;
/* If the loop is already a do-while style one (either because it was
struct loop *loop;
basic_block bb;
+ if (!loops->tree_root->inner)
+ return;
+
/* Create a UID for each statement in the function. Ordering of the
UIDs is not important for this pass. */
max_stmt_uid = 0;