This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] [Committed] Fix warnings in toplev.c


This patches fixes the warning by including alloc-pool.h in toplev.c.
Committed to 3.4 and mainline as obvious.


Thanks, Andrew Pinski


2004-01-30 Andrew Pinski <pinskia@physics.uc.edu>


        * toplev.c: Include alloc-pool.h.
        * Makefile.in (toplev.c): Update dependencies.

Patch:

Index: toplev.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/toplev.c,v
retrieving revision 1.863.4.5
diff -u -p -r1.863.4.5 toplev.c
--- toplev.c	30 Jan 2004 11:07:49 -0000	1.863.4.5
+++ toplev.c	30 Jan 2004 17:41:23 -0000
@@ -78,6 +78,7 @@ Software Foundation, 59 Temple Place - S
 #include "opts.h"
 #include "coverage.h"
 #include "value-prof.h"
+#include "alloc-pool.h"

 #if defined (DWARF2_UNWIND_INFO) || defined (DWARF2_DEBUGGING_INFO)
 #include "dwarf2out.h"
Index: Makefile.in
===================================================================
RCS file: /cvs/gcc/gcc/gcc/Makefile.in,v
retrieving revision 1.1223.2.5
diff -u -p -r1.1223.2.5 Makefile.in
--- Makefile.in	30 Jan 2004 10:58:30 -0000	1.1223.2.5
+++ Makefile.in	30 Jan 2004 17:41:24 -0000
@@ -1520,7 +1520,7 @@ toplev.o : toplev.c $(CONFIG_H) $(SYSTEM
    graph.h $(LOOP_H) except.h $(REGS_H) $(TIMEVAR_H) value-prof.h \
    $(PARAMS_H) $(TM_P_H) reload.h dwarf2asm.h $(TARGET_H) \
    langhooks.h insn-flags.h cfglayout.h real.h cfgloop.h \
-   hosthooks.h $(LANGHOOKS_DEF_H) cgraph.h $(COVERAGE_H)
+   hosthooks.h $(LANGHOOKS_DEF_H) cgraph.h $(COVERAGE_H) alloc-pool.h
 	$(CC) $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
 	  -DTARGET_NAME=\"$(target_noncanonical)\" \
 	  -c $(srcdir)/toplev.c $(OUTPUT_OPTION)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]