tree-ssa-loop-manip.c (ip_normal_pos): Check if last stmt is NULL.
2007-05-01 Richard Guenther <rguenther@suse.de> * tree-ssa-loop-manip.c (ip_normal_pos): Check if last stmt is NULL. From-SVN: r124329
This commit is contained in:
parent
037ab18d88
commit
ae2cf11b91
@ -1,3 +1,8 @@
|
|||||||
|
2007-05-01 Richard Guenther <rguenther@suse.de>
|
||||||
|
|
||||||
|
* tree-ssa-loop-manip.c (ip_normal_pos): Check if last stmt
|
||||||
|
is NULL.
|
||||||
|
|
||||||
2007-05-01 Joseph Myers <joseph@codesourcery.com>
|
2007-05-01 Joseph Myers <joseph@codesourcery.com>
|
||||||
|
|
||||||
* config/rs6000/libgcc-ppc-glibc.ver (__gcc_qgt): Fix typo.
|
* config/rs6000/libgcc-ppc-glibc.ver (__gcc_qgt): Fix typo.
|
||||||
|
@ -505,7 +505,8 @@ ip_normal_pos (struct loop *loop)
|
|||||||
|
|
||||||
bb = single_pred (loop->latch);
|
bb = single_pred (loop->latch);
|
||||||
last = last_stmt (bb);
|
last = last_stmt (bb);
|
||||||
if (TREE_CODE (last) != COND_EXPR)
|
if (!last
|
||||||
|
|| TREE_CODE (last) != COND_EXPR)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
exit = EDGE_SUCC (bb, 0);
|
exit = EDGE_SUCC (bb, 0);
|
||||||
|
Loading…
Reference in New Issue
Block a user