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
This commit is contained in:
parent
e192ab01d0
commit
d16464bb8b
@ -1,3 +1,9 @@
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user