Commit e99f0788 by Richard Guenther Committed by Richard Biener

re PR bootstrap/46528 (profiledbootstrap failure)

2010-11-26  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/46528
	PR debug/46338
	* profile.c (branch_prob): Do not split blocks based on locations
	from debug statements.

From-SVN: r167171
parent f1b69188
2010-11-26 Richard Guenther <rguenther@suse.de>
PR tree-optimization/46528
PR debug/46338
* profile.c (branch_prob): Do not split blocks based on locations
from debug statements.
2010-11-26 Jakub Jelinek <jakub@redhat.com>
PR middle-end/46647
......@@ -940,7 +940,8 @@ branch_prob (void)
for (gsi = gsi_last_bb (bb); !gsi_end_p (gsi); gsi_prev (&gsi))
{
last = gsi_stmt (gsi);
if (gimple_has_location (last))
if (!is_gimple_debug (last)
&& gimple_has_location (last))
break;
}
......
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