Commit c16eb95f by Jan Hubicka Committed by Jan Hubicka

re PR middle-end/37278 (Revision 139760 causes many failures)


	PR middle-end/37278
	* predict.c (optimize_loop_nest_for_speed_p): Do not ICE
	for cold internal loops.

From-SVN: r139768
parent f62b28a9
2008-08-29 Jan Hubicka <jh@suse.cz>
PR middle-end/37278
* predict.c (optimize_loop_nest_for_speed_p): Do not ICE
for cold internal loops.
2008-08-29 Richard Guenther <rguenther@suse.de>
* tree-ssa-structalias.c (create_variable_info_for): Do not
......
......@@ -270,7 +270,7 @@ optimize_loop_nest_for_speed_p (struct loop *loop)
if (optimize_loop_for_speed_p (loop))
return true;
l = loop->inner;
while (l != loop)
while (l && l != loop)
{
if (optimize_loop_for_speed_p (l))
return true;
......
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