combine.c (combine_instructions): Recompute optimize_this_for_speed_p for each BB in the main combine loop.

* combine.c (combine_instructions):  Recompute
	optimize_this_for_speed_p  for each BB in the main combine loop.

From-SVN: r143293
This commit is contained in:
Richard Earnshaw 2009-01-12 15:45:22 +00:00 committed by Richard Earnshaw
parent 49f098f256
commit 76ee70f64c
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2009-01-12 Richard Earnshaw <rearnsha@arm.com>
* combine.c (combine_instructions): Recompute
optimize_this_for_speed_p for each BB in the main combine loop.
2009-01-12 Tomas Bily <tbily@suse.cz>
PR middlend/38385

View File

@ -1112,6 +1112,7 @@ combine_instructions (rtx f, unsigned int nregs)
FOR_EACH_BB (this_basic_block)
{
optimize_this_for_speed_p = optimize_bb_for_speed_p (this_basic_block);
last_call_luid = 0;
mem_last_set = -1;
label_tick++;