diff options
author | Michael Meissner <meissner@linux.vnet.ibm.com> | 2012-10-01 21:47:36 +0000 |
---|---|---|
committer | Michael Meissner <meissner@gcc.gnu.org> | 2012-10-01 21:47:36 +0000 |
commit | e518aa08f733c5b9b4482449ae0d6eefd2a7a26e (patch) | |
tree | b09e32505ae66cdaf8319a8cf655732be4b8d680 | |
parent | 84df911b453a01260d20f36a3086363207c12079 (diff) | |
download | gcc-e518aa08f733c5b9b4482449ae0d6eefd2a7a26e.zip gcc-e518aa08f733c5b9b4482449ae0d6eefd2a7a26e.tar.gz gcc-e518aa08f733c5b9b4482449ae0d6eefd2a7a26e.tar.bz2 |
Fix powerpc breakage
From-SVN: r191942
-rw-r--r-- | gcc/ChangeLog | 8 | ||||
-rw-r--r-- | gcc/config/rs6000/rs6000.c | 11 | ||||
-rw-r--r-- | gcc/config/rs6000/t-rs6000 | 2 |
3 files changed, 15 insertions, 6 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3961099..d3985e8 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,11 @@ +2012-10-01 Michael Meissner <meissner@linux.vnet.ibm.com> + + * config/rs6000/rs6000.c (toplevel): Include dumpfile.h. + (rs6000_density_test): Rework to accomidate 09-30 change by Sharad + Singhai. + + * config/rs6000/t-rs6000 (rs6000.o): Add dumpfile.h dependency. + 2012-10-01 Dehao Chen <dehao@google.com> PR middle-end/54759 diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index 96026bd..ed641dd 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -58,6 +58,7 @@ #include "tm-constrs.h" #include "opts.h" #include "tree-vectorizer.h" +#include "dumpfile.h" #if TARGET_XCOFF #include "xcoffout.h" /* get declarations of xcoff_*_section_name */ #endif @@ -3518,11 +3519,11 @@ 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 (vect_print_dump_info (REPORT_DETAILS)) - fprintf (vect_dump, - "density %d%%, cost %d exceeds threshold, penalizing " - "loop body cost by %d%%", density_pct, - vec_cost + not_vec_cost, DENSITY_PENALTY); + if (dump_kind_p (MSG_NOTE)) + dump_printf_loc (MSG_NOTE, vect_location, + "density %d%%, cost %d exceeds threshold, penalizing " + "loop body cost by %d%%", density_pct, + vec_cost + not_vec_cost, DENSITY_PENALTY); } } diff --git a/gcc/config/rs6000/t-rs6000 b/gcc/config/rs6000/t-rs6000 index 8acc339..a96c0d2 100644 --- a/gcc/config/rs6000/t-rs6000 +++ b/gcc/config/rs6000/t-rs6000 @@ -26,7 +26,7 @@ rs6000.o: $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \ $(OBSTACK_H) $(TREE_H) $(EXPR_H) $(OPTABS_H) except.h function.h \ output.h dbxout.h $(BASIC_BLOCK_H) toplev.h $(GGC_H) $(HASHTAB_H) \ $(TM_P_H) $(TARGET_H) $(TARGET_DEF_H) langhooks.h reload.h gt-rs6000.h \ - cfgloop.h $(OPTS_H) $(COMMON_TARGET_H) + cfgloop.h $(OPTS_H) $(COMMON_TARGET_H) dumpfile.h rs6000-c.o: $(srcdir)/config/rs6000/rs6000-c.c \ $(srcdir)/config/rs6000/rs6000-protos.h \ |