From 89e944703fbeffa51be0dc9c26a85413dcfc1016 Mon Sep 17 00:00:00 2001 From: Anatoly Sokolov Date: Sat, 29 Aug 2015 16:10:43 +0300 Subject: Remove redundant use of REG_CLASS_NAMES maros From-SVN: r227318 --- gcc/ira.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'gcc/ira.c') diff --git a/gcc/ira.c b/gcc/ira.c index 79827eb..28517c1 100644 --- a/gcc/ira.c +++ b/gcc/ira.c @@ -1376,9 +1376,8 @@ setup_reg_class_relations (void) /* Output all uniform and important classes into file F. */ static void -print_unform_and_important_classes (FILE *f) +print_uniform_and_important_classes (FILE *f) { - static const char *const reg_class_names[] = REG_CLASS_NAMES; int i, cl; fprintf (f, "Uniform classes:\n"); @@ -1403,7 +1402,6 @@ print_translated_classes (FILE *f, bool pressure_p) enum reg_class *class_translate = (pressure_p ? ira_pressure_class_translate : ira_allocno_class_translate); - static const char *const reg_class_names[] = REG_CLASS_NAMES; int i; fprintf (f, "%s classes:\n", pressure_p ? "Pressure" : "Allocno"); @@ -1420,7 +1418,7 @@ print_translated_classes (FILE *f, bool pressure_p) void ira_debug_allocno_classes (void) { - print_unform_and_important_classes (stderr); + print_uniform_and_important_classes (stderr); print_translated_classes (stderr, false); print_translated_classes (stderr, true); } -- cgit v1.1