Commit d16464bb by Daniel Berlin Committed by Daniel Berlin

tree-ssa-loop-ch.c (copy_loop_headers): Loop can be null.

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.

From-SVN: r92048
parent e192ab01
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.
......
......@@ -152,6 +152,8 @@ copy_loop_headers (void)
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
......
......@@ -1252,6 +1252,9 @@ determine_lsm (struct loops *loops)
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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment