combine.c (combine_instructions): Recompute optimize_this_for_speed_p for each BB...
authorRichard Earnshaw <rearnsha@arm.com>
Mon, 12 Jan 2009 15:45:22 +0000 (15:45 +0000)
committerRichard Earnshaw <rearnsha@gcc.gnu.org>
Mon, 12 Jan 2009 15:45:22 +0000 (15:45 +0000)
* combine.c (combine_instructions):  Recompute
optimize_this_for_speed_p  for each BB in the main combine loop.

From-SVN: r143293

gcc/ChangeLog
gcc/combine.c

index ebe85fa61f60e0d2b166ff64e6b5531c982122c9..0920534487ff8dd6bbf46361c44ae2aa74d967ec 100644 (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
index 0198342a9cc4f9a6f3d5c5fcc9b975dd0e91e2f3..82bf9f5e115e815badca7b7d2adc1ad20fe5f4b8 100644 (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++;