From 360d045b059b4ca15f440fa0db81a0dac9d744ba Mon Sep 17 00:00:00 2001 From: Richard Sandiford Date: Mon, 12 Jul 2010 18:53:42 +0000 Subject: Makefile.in (reginfo.o): Don't depend on $(GGC_H) or gt-reginfo.h. gcc/ * Makefile.in (reginfo.o): Don't depend on $(GGC_H) or gt-reginfo.h. (GTFILES): Remove reginfo.c. * rtl.h (target_rtl): Add x_top_of_stack. (top_of_stack): New macro. * reginfo.c: Don't include ggc.h or gt-reginfo.h. (top_of_stack): Delete. From-SVN: r162091 --- gcc/reginfo.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'gcc/reginfo.c') diff --git a/gcc/reginfo.c b/gcc/reginfo.c index f17084c..deb62b7 100644 --- a/gcc/reginfo.c +++ b/gcc/reginfo.c @@ -46,7 +46,6 @@ along with GCC; see the file COPYING3. If not see #include "toplev.h" #include "diagnostic-core.h" #include "output.h" -#include "ggc.h" #include "timevar.h" #include "hashtab.h" #include "target.h" @@ -121,9 +120,6 @@ const char * reg_class_names[] = REG_CLASS_NAMES; #define last_mode_for_init_move_cost \ (this_target_regs->x_last_mode_for_init_move_cost) -/* Sample MEM values for use by memory_move_secondary_cost. */ -static GTY(()) rtx top_of_stack[MAX_MACHINE_MODE]; - /* No more global register variables may be declared; true once reginfo has been initialized. */ static int no_global_reg_vars = 0; @@ -1347,5 +1343,3 @@ finish_subregs_of_mode (void) } #endif /* CANNOT_CHANGE_MODE_CLASS */ - -#include "gt-reginfo.h" -- cgit v1.1