[PATCH] Re-enable scheduler

Franz Sirl Franz.Sirl-kernel@lauterbach.com
Sun Jun 29 02:04:00 GMT 2003


Hi,

after Neil's last patch the scheduler is disabled cause INSN_SCHEDULING gets 
never defined for opts.c, insn-attr.h needs to be included.

Committed as obvious.

Franz.


	* opts.c: Include insn-attr.h.
	* Makefile.in (opts.o): Depend on INSN_ATTR_H.

-------------- next part --------------
Index: gcc/opts.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/opts.c,v
retrieving revision 1.19
diff -u -p -r1.19 opts.c
--- gcc/opts.c	28 Jun 2003 06:18:10 -0000	1.19
+++ gcc/opts.c	29 Jun 2003 01:03:49 -0000
@@ -35,6 +35,7 @@ Software Foundation, 59 Temple Place - S
 #include "params.h"
 #include "diagnostic.h"
 #include "tm_p.h"		/* For OPTIMIZATION_OPTIONS.  */
+#include "insn-attr.h"		/* For INSN_SCHEDULING.  */
 
 /* Value of the -G xx switch, and whether it was passed or not.  */
 unsigned HOST_WIDE_INT g_switch_value;
Index: gcc/Makefile.in
===================================================================
RCS file: /cvs/gcc/gcc/gcc/Makefile.in,v
retrieving revision 1.1093
diff -u -p -r1.1093 Makefile.in
--- gcc/Makefile.in	28 Jun 2003 06:18:10 -0000	1.1093
+++ gcc/Makefile.in	29 Jun 2003 01:03:51 -0000
@@ -1483,7 +1483,7 @@ diagnostic.o : diagnostic.c diagnostic.h
    input.h toplev.h intl.h langhooks.h $(LANGHOOKS_DEF_H)
 opts.o : opts.c opts.h options.h toplev.h $(CONFIG_H) $(SYSTEM_H) \
 	coretypes.h $(TREE_H) $(TM_H) $(LANGHOOKS_H) $(GGC_H) $(RTL_H) \
-	output.h diagnostic.h $(TM_P_H)
+	output.h diagnostic.h $(TM_P_H) $(INSN_ATTR_H)
 toplev.o : toplev.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) $(RTL_H) \
    function.h flags.h xcoffout.h input.h $(INSN_ATTR_H) output.h diagnostic.h \
    debug.h insn-config.h intl.h $(RECOG_H) Makefile toplev.h \


More information about the Gcc-patches mailing list