Patchwork obvious fix for rs6000 broken bootstrap committed

login
register
mail settings
Submitter Sharad Singhai
Date Oct. 24, 2012, 11:13 p.m.
Message ID <CAKxPW64-rOA48g0w2tiw04srZVF6OiaffR-8XzjiX32bAAqt6Q@mail.gmail.com>
Download mbox | patch
Permalink /patch/194011/
State New
Headers show

Comments

Sharad Singhai - Oct. 24, 2012, 11:13 p.m.
As per discussion in http://gcc.gnu.org/ml/gcc/2012-10/msg00366.html.
I have applied the following obvious fix for rs6000 broken bootstrap.

2012-10-24  Sharad Singhai  <singhai@google.com>

        * config/rs6000/rs6000.c (rs6000_density_test): Use dump_enabled_p
          instead of dump_kind_p.



Thanks,.
Sharad

Patch

Index: config/rs6000/rs6000.c
===================================================================
--- config/rs6000/rs6000.c (revision 192787)
+++ config/rs6000/rs6000.c (working copy)
@@ -3547,7 +3547,7 @@  rs6000_density_test (rs6000_cost_data *data)
       && vec_cost + not_vec_cost > DENSITY_SIZE_THRESHOLD)
     {
       data->cost[vect_body] = vec_cost * (100 + DENSITY_PENALTY) / 100;
-      if (dump_kind_p (MSG_NOTE))
+      if (dump_enabled_p ())
  dump_printf_loc (MSG_NOTE, vect_location,
  "density %d%%, cost %d exceeds threshold, penalizing "
  "loop body cost by %d%%", density_pct,