java-gimplify.c: Do not include tm.h, toplev.h.
* java-gimplify.c: Do not include tm.h, toplev.h. * typeck.c: Do not include tm.h. * mangle_name.c: Do not include tm.h. * jcf-dump.c: Do not include tm.h, ggc.h. * class.c: Do not include rtl.h, tm_p.h, target.h, except.h, cgraph.h. * decl.c: Do not include tm.h, rtl.h, function.h, expr.h, except.h, and timevar.h. * jcf-parse.c: Do not include tm.h and tm_p.h. * resource.c: Do not include tm.h, rtl.h, flags.h, obstack.h, target.h, and expr.h. * except.c: Do not include tm.h, rtl.h, function.h. * builtins.c: Do not include convert.h. Explain why RTL headers have to be included here. * verify-glue.c: Do not include tm.h. * jcf-depend.c: Do not include tm.h. * jcf-reader.c: Include ggc.h. * jcf-io.c: Do not include tm.h, toplev.h. * expr.c: Do not include tm.h, rtl.h, expr.h, except.h, tm_p.h, gimple.h. * lang.c: Do not include rtl.h, expr.h. * Make-lang.in: Update dependencies. From-SVN: r159764
This commit is contained in:
parent
7274feea19
commit
f67cc87d4f
@ -1,3 +1,27 @@
|
||||
2010-05-23 Steven Bosscher <steven@gcc.gnu.org>
|
||||
|
||||
* java-gimplify.c: Do not include tm.h, toplev.h.
|
||||
* typeck.c: Do not include tm.h.
|
||||
* mangle_name.c: Do not include tm.h.
|
||||
* jcf-dump.c: Do not include tm.h, ggc.h.
|
||||
* class.c: Do not include rtl.h, tm_p.h, target.h, except.h, cgraph.h.
|
||||
* decl.c: Do not include tm.h, rtl.h, function.h, expr.h, except.h,
|
||||
and timevar.h.
|
||||
* jcf-parse.c: Do not include tm.h and tm_p.h.
|
||||
* resource.c: Do not include tm.h, rtl.h, flags.h, obstack.h,
|
||||
target.h, and expr.h.
|
||||
* except.c: Do not include tm.h, rtl.h, function.h.
|
||||
* builtins.c: Do not include convert.h. Explain why RTL headers
|
||||
have to be included here.
|
||||
* verify-glue.c: Do not include tm.h.
|
||||
* jcf-depend.c: Do not include tm.h.
|
||||
* jcf-reader.c: Include ggc.h.
|
||||
* jcf-io.c: Do not include tm.h, toplev.h.
|
||||
* expr.c: Do not include tm.h, rtl.h, expr.h, except.h, tm_p.h,
|
||||
gimple.h.
|
||||
* lang.c: Do not include rtl.h, expr.h.
|
||||
* Make-lang.in: Update dependencies.
|
||||
|
||||
2010-05-23 Steven Bosscher <steven@gcc.gnu.org>
|
||||
|
||||
* jcf-parse.c: Include bitmap.h.
|
||||
|
@ -267,7 +267,7 @@ java.stagefeedback: stageprofile-start
|
||||
# .o:.h dependencies.
|
||||
JAVA_TREE_H = $(TREE_H) $(HASHTAB_H) java/java-tree.h
|
||||
|
||||
java/jcf-dump.o: $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(JAVA_TREE_H) \
|
||||
java/jcf-dump.o: $(CONFIG_H) $(SYSTEM_H) coretypes.h $(JAVA_TREE_H) \
|
||||
java/jcf-dump.c java/jcf-reader.c java/jcf.h java/javaop.h java/javaop.def \
|
||||
version.h $(GGC_H) intl.h java/zipfile.h
|
||||
java/boehm.o: java/boehm.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
|
||||
@ -276,60 +276,60 @@ java/builtins.o: java/builtins.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
|
||||
$(JAVA_TREE_H) $(GGC_H) $(FLAGS_H) $(OPTABS_H) $(EXPR_H) langhooks.h \
|
||||
gt-java-builtins.h
|
||||
java/class.o: java/class.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
|
||||
$(JAVA_TREE_H) $(RTL_H) java/jcf.h java/parse.h toplev.h output.h $(GGC_H) \
|
||||
$(TARGET_H) $(FUNCTION_H) gt-java-class.h $(CGRAPH_H) $(TM_P_H)
|
||||
$(JAVA_TREE_H) java/jcf.h java/parse.h toplev.h output.h $(GGC_H) \
|
||||
$(FUNCTION_H) gt-java-class.h
|
||||
java/constants.o: java/constants.c $(CONFIG_H) $(JAVA_TREE_H) java/jcf.h \
|
||||
toplev.h $(SYSTEM_H) coretypes.h $(TM_H) $(GGC_H) gt-java-constants.h
|
||||
java/decl.o: java/decl.c $(CONFIG_H) $(JAVA_TREE_H) $(RTL_H) java/jcf.h \
|
||||
toplev.h $(FLAGS_H) $(SYSTEM_H) coretypes.h $(TM_H) $(FUNCTION_H) $(EXPR_H) \
|
||||
libfuncs.h except.h java/java-except.h $(GGC_H) $(REAL_H) gt-java-decl.h \
|
||||
java/decl.o: java/decl.c $(CONFIG_H) $(JAVA_TREE_H) java/jcf.h \
|
||||
toplev.h $(FLAGS_H) $(SYSTEM_H) coretypes.h $(TM_H) \
|
||||
libfuncs.h java/java-except.h $(GGC_H) $(REAL_H) gt-java-decl.h \
|
||||
$(TARGET_H) $(CGRAPH_H) langhooks.h
|
||||
java/except.o: java/except.c $(CONFIG_H) $(JAVA_TREE_H) java/jcf.h $(REAL_H) \
|
||||
$(RTL_H) java/javaop.h java/java-opcodes.h except.h java/java-except.h \
|
||||
toplev.h $(SYSTEM_H) coretypes.h $(TM_H) $(FUNCTION_H)
|
||||
java/javaop.h java/java-opcodes.h except.h java/java-except.h \
|
||||
toplev.h $(SYSTEM_H) coretypes.h
|
||||
java/expr.o: java/expr.c $(CONFIG_H) $(JAVA_TREE_H) java/jcf.h $(REAL_H) \
|
||||
$(RTL_H) $(EXPR_H) java/javaop.h java/java-opcodes.h except.h \
|
||||
java/javaop.h java/java-opcodes.h \
|
||||
java/java-except.h java/java-except.h java/parse.h toplev.h \
|
||||
$(SYSTEM_H) coretypes.h $(TM_H) $(GGC_H) gt-java-expr.h $(TARGET_H) \
|
||||
tree-iterator.h $(TM_P_H)
|
||||
tree-iterator.h
|
||||
java/jcf-depend.o: java/jcf-depend.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
|
||||
$(TM_H) java/jcf.h
|
||||
java/jcf.h
|
||||
java/jcf-parse.o: java/jcf-parse.c $(CONFIG_H) $(JAVA_TREE_H) $(FLAGS_H) \
|
||||
input.h java/java-except.h $(SYSTEM_H) coretypes.h $(TM_H) toplev.h \
|
||||
java/parse.h $(GGC_H) debug.h $(REAL_H) gt-java-jcf-parse.h $(TM_P_H) \
|
||||
input.h java/java-except.h $(SYSTEM_H) coretypes.h toplev.h \
|
||||
java/parse.h $(GGC_H) debug.h $(REAL_H) gt-java-jcf-parse.h \
|
||||
java/jcf-reader.c java/zipfile.h java/jcf.h $(BITMAP_H)
|
||||
java/jvgenmain.o: java/jvgenmain.c $(CONFIG_H) $(JAVA_TREE_H) $(SYSTEM_H) \
|
||||
coretypes.h $(TM_H) intl.h
|
||||
java/lang.o: java/lang.c $(CONFIG_H) $(JAVA_TREE_H) java/jcf.h input.h \
|
||||
toplev.h $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) $(EXPR_H) $(DIAGNOSTIC_H) \
|
||||
toplev.h $(SYSTEM_H) coretypes.h $(TM_H) $(DIAGNOSTIC_H) \
|
||||
langhooks.h $(LANGHOOKS_DEF_H) gt-java-lang.h opts.h options.h $(EXCEPT_H)
|
||||
java/mangle.o: java/mangle.c $(CONFIG_H) java/jcf.h $(JAVA_TREE_H) $(SYSTEM_H) \
|
||||
coretypes.h $(TM_H) toplev.h $(GGC_H) gt-java-mangle.h $(LANGHOOKS_DEF_H)
|
||||
java/mangle_name.o: java/mangle_name.c $(CONFIG_H) java/jcf.h $(JAVA_TREE_H) \
|
||||
$(SYSTEM_H) coretypes.h $(TM_H) toplev.h $(GGC_H)
|
||||
java/resource.o: java/resource.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
|
||||
$(JAVA_TREE_H) $(RTL_H) java/jcf.h java/parse.h toplev.h output.h $(GGC_H) \
|
||||
$(TARGET_H) $(FUNCTION_H) gt-java-resource.h $(EXPR_H)
|
||||
$(SYSTEM_H) coretypes.h toplev.h $(GGC_H)
|
||||
java/resource.o: java/resource.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
|
||||
$(JAVA_TREE_H) java/jcf.h java/parse.h toplev.h output.h $(GGC_H) \
|
||||
$(TARGET_H) $(FUNCTION_H) gt-java-resource.h
|
||||
java/typeck.o: java/typeck.c $(CONFIG_H) $(JAVA_TREE_H) java/jcf.h \
|
||||
toplev.h $(SYSTEM_H) coretypes.h $(TM_H) $(GGC_H) $(REAL_H)
|
||||
toplev.h $(SYSTEM_H) coretypes.h $(GGC_H) $(REAL_H)
|
||||
java/win32-host.o: java/win32-host.c $(CONFIG_H) $(SYSTEM_H) coretypes.h java/jcf.h
|
||||
java/verify-glue.o: java/verify-glue.c $(CONFIG_H) $(SYSTEM_H) $(JAVA_TREE_H) \
|
||||
coretypes.h $(TM_H) java/verify.h toplev.h
|
||||
coretypes.h java/verify.h toplev.h
|
||||
java/verify-impl.o: java/verify-impl.c $(CONFIG_H) java/verify.h $(SYSTEM_H) \
|
||||
coretypes.h java/jcf.h $(JAVA_TREE_H)
|
||||
java/zextract.o: java/zextract.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
|
||||
java/zipfile.h
|
||||
java/java-gimplify.o: java/java-gimplify.c $(CONFIG_H) $(SYSTEM_H) \
|
||||
coretypes.h $(TM_H) $(JAVA_TREE_H) $(GIMPLE_H) toplev.h
|
||||
coretypes.h $(JAVA_TREE_H) $(GIMPLE_H)
|
||||
|
||||
# jcf-io.o needs $(ZLIBINC) added to cflags.
|
||||
java/jcf-io.o: java/jcf-io.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
|
||||
java/jcf-io.o: java/jcf-io.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
|
||||
$(JAVA_TREE_H) java/zipfile.h
|
||||
$(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
|
||||
$(ZLIBINC) $(srcdir)/java/jcf-io.c $(OUTPUT_OPTION)
|
||||
|
||||
# jcf-path.o needs a -D.
|
||||
java/jcf-path.o: java/jcf-path.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
|
||||
java/jcf-path.o: java/jcf-path.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
|
||||
java/jcf.h
|
||||
$(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
|
||||
-DLIBGCJ_ZIP_FILE='"$(datadir)/java/libgcj-$(version).jar"' \
|
||||
|
@ -34,7 +34,9 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */
|
||||
#include "langhooks.h"
|
||||
#include "java-tree.h"
|
||||
#include <stdarg.h>
|
||||
#include "convert.h"
|
||||
|
||||
/* FIXME: All these headers are necessary for sync_compare_and_swap.
|
||||
Front ends should never have to look at that. */
|
||||
#include "rtl.h"
|
||||
#include "insn-codes.h"
|
||||
#include "expr.h"
|
||||
|
@ -27,9 +27,7 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */
|
||||
#include "config.h"
|
||||
#include "system.h"
|
||||
#include "coretypes.h"
|
||||
#include "tm.h"
|
||||
#include "tree.h"
|
||||
#include "rtl.h"
|
||||
#include "flags.h"
|
||||
#include "java-tree.h"
|
||||
#include "jcf.h"
|
||||
@ -38,15 +36,12 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */
|
||||
#include "output.h"
|
||||
#include "parse.h"
|
||||
#include "function.h"
|
||||
#include "tm_p.h"
|
||||
#include "ggc.h"
|
||||
#include "stdio.h"
|
||||
#include "target.h"
|
||||
#include "except.h"
|
||||
#include "cgraph.h"
|
||||
#include "tree-iterator.h"
|
||||
#include "cgraph.h"
|
||||
#include "vecprim.h"
|
||||
#include "tm.h" /* FIXME: For gcc_obstack_init from defaults.h. */
|
||||
|
||||
/* DOS brain-damage */
|
||||
#ifndef O_BINARY
|
||||
|
@ -28,20 +28,14 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */
|
||||
#include "config.h"
|
||||
#include "system.h"
|
||||
#include "coretypes.h"
|
||||
#include "tm.h"
|
||||
#include "tree.h"
|
||||
#include "rtl.h"
|
||||
#include "toplev.h"
|
||||
#include "flags.h"
|
||||
#include "java-tree.h"
|
||||
#include "jcf.h"
|
||||
#include "function.h"
|
||||
#include "expr.h"
|
||||
#include "libfuncs.h"
|
||||
#include "except.h"
|
||||
#include "java-except.h"
|
||||
#include "ggc.h"
|
||||
#include "timevar.h"
|
||||
#include "cgraph.h"
|
||||
#include "tree-inline.h"
|
||||
#include "target.h"
|
||||
|
@ -25,15 +25,12 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */
|
||||
#include "config.h"
|
||||
#include "system.h"
|
||||
#include "coretypes.h"
|
||||
#include "tm.h"
|
||||
#include "tree.h"
|
||||
#include "rtl.h"
|
||||
#include "java-tree.h"
|
||||
#include "javaop.h"
|
||||
#include "java-opcodes.h"
|
||||
#include "jcf.h"
|
||||
#include "function.h"
|
||||
#include "except.h"
|
||||
#include "except.h" /* for doing_eh. */
|
||||
#include "java-except.h"
|
||||
#include "toplev.h"
|
||||
#include "tree-iterator.h"
|
||||
|
@ -27,11 +27,8 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */
|
||||
#include "config.h"
|
||||
#include "system.h"
|
||||
#include "coretypes.h"
|
||||
#include "tm.h"
|
||||
#include "tree.h"
|
||||
#include "rtl.h"
|
||||
#include "flags.h"
|
||||
#include "expr.h"
|
||||
#include "java-tree.h"
|
||||
#include "javaop.h"
|
||||
#include "java-opcodes.h"
|
||||
@ -39,11 +36,8 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */
|
||||
#include "java-except.h"
|
||||
#include "parse.h"
|
||||
#include "toplev.h"
|
||||
#include "except.h"
|
||||
#include "tm_p.h"
|
||||
#include "ggc.h"
|
||||
#include "tree-iterator.h"
|
||||
#include "gimple.h"
|
||||
#include "target.h"
|
||||
|
||||
static void flush_quick_stack (void);
|
||||
|
@ -25,12 +25,10 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */
|
||||
#include "config.h"
|
||||
#include "system.h"
|
||||
#include "coretypes.h"
|
||||
#include "tm.h"
|
||||
#include "tree.h"
|
||||
#include "java-tree.h"
|
||||
#include "tree-dump.h"
|
||||
#include "gimple.h"
|
||||
#include "toplev.h"
|
||||
|
||||
static tree java_gimplify_block (tree);
|
||||
static enum gimplify_status java_gimplify_modify_expr (tree *);
|
||||
|
@ -28,7 +28,6 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */
|
||||
#include "config.h"
|
||||
#include "system.h"
|
||||
#include "coretypes.h"
|
||||
#include "tm.h"
|
||||
#include "mkdeps.h"
|
||||
|
||||
#include <assert.h>
|
||||
|
@ -51,8 +51,6 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */
|
||||
#include "config.h"
|
||||
#include "system.h"
|
||||
#include "coretypes.h"
|
||||
#include "tm.h"
|
||||
#include "ggc.h"
|
||||
#include "intl.h"
|
||||
|
||||
#include "jcf.h"
|
||||
|
@ -27,11 +27,9 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */
|
||||
#include "config.h"
|
||||
#include "system.h"
|
||||
#include "coretypes.h"
|
||||
#include "tm.h"
|
||||
|
||||
#include "jcf.h"
|
||||
#include "tree.h"
|
||||
#include "toplev.h"
|
||||
#include "java-tree.h"
|
||||
#include "hashtab.h"
|
||||
#include <dirent.h>
|
||||
|
@ -27,7 +27,6 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */
|
||||
#include "config.h"
|
||||
#include "system.h"
|
||||
#include "coretypes.h"
|
||||
#include "tm.h"
|
||||
#include "tree.h"
|
||||
#include "obstack.h"
|
||||
#include "flags.h"
|
||||
@ -40,7 +39,6 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */
|
||||
#include "ggc.h"
|
||||
#include "debug.h"
|
||||
#include "assert.h"
|
||||
#include "tm_p.h"
|
||||
#include "cgraph.h"
|
||||
#include "vecprim.h"
|
||||
#include "bitmap.h"
|
||||
|
@ -27,7 +27,7 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */
|
||||
#include "config.h"
|
||||
#include "system.h"
|
||||
#include "coretypes.h"
|
||||
#include "tm.h"
|
||||
#include "tm.h" /* FIXME: For GET_ENVIRONMENT from defaults.h. */
|
||||
|
||||
#include <dirent.h>
|
||||
|
||||
|
@ -24,6 +24,7 @@ Java and all Java-based marks are trademarks or registered trademarks
|
||||
of Sun Microsystems, Inc. in the United States and other countries.
|
||||
The Free Software Foundation is independent of Sun Microsystems, Inc. */
|
||||
|
||||
#include "ggc.h"
|
||||
#include "jcf.h"
|
||||
#include "zipfile.h"
|
||||
|
||||
|
@ -27,12 +27,12 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */
|
||||
#include "config.h"
|
||||
#include "system.h"
|
||||
#include "coretypes.h"
|
||||
#include "tm.h"
|
||||
#include "obstack.h"
|
||||
#include "jcf.h"
|
||||
#include "tree.h"
|
||||
#include "java-tree.h"
|
||||
#include "intl.h"
|
||||
#include "tm.h" /* FIXME: For gcc_obstack_init from defaults.h. */
|
||||
|
||||
static char * do_mangle_classname (const char *string);
|
||||
|
||||
|
@ -30,8 +30,6 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */
|
||||
#include "tm.h"
|
||||
#include "tree.h"
|
||||
#include "input.h"
|
||||
#include "rtl.h"
|
||||
#include "expr.h"
|
||||
#include "java-tree.h"
|
||||
#include "jcf.h"
|
||||
#include "toplev.h"
|
||||
@ -45,7 +43,7 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */
|
||||
#include "tree-dump.h"
|
||||
#include "opts.h"
|
||||
#include "options.h"
|
||||
#include "except.h"
|
||||
#include "except.h" /* For USING_SJLJ_EXCEPTIONS. */
|
||||
|
||||
static bool java_init (void);
|
||||
static void java_finish (void);
|
||||
|
@ -28,7 +28,6 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */
|
||||
#include "config.h"
|
||||
#include "system.h"
|
||||
#include "coretypes.h"
|
||||
#include "tm.h"
|
||||
#include "jcf.h"
|
||||
#include "tree.h"
|
||||
#include "java-tree.h"
|
||||
@ -36,6 +35,7 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */
|
||||
#include "toplev.h"
|
||||
#include "ggc.h"
|
||||
#include "langhooks-def.h"
|
||||
#include "tm.h" /* FIXME: For gcc_obstack_init from defaults.h. */
|
||||
|
||||
static void mangle_class_field (tree);
|
||||
static void mangle_vtable (tree);
|
||||
|
@ -27,7 +27,6 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */
|
||||
#include "config.h"
|
||||
#include "system.h"
|
||||
#include "coretypes.h"
|
||||
#include "tm.h"
|
||||
#include "jcf.h"
|
||||
#include "tree.h"
|
||||
#include "java-tree.h"
|
||||
|
@ -25,21 +25,15 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */
|
||||
#include "config.h"
|
||||
#include "system.h"
|
||||
#include "coretypes.h"
|
||||
#include "tm.h"
|
||||
#include "tree.h"
|
||||
#include "rtl.h"
|
||||
#include "flags.h"
|
||||
#include "java-tree.h"
|
||||
#include "jcf.h"
|
||||
#include "obstack.h"
|
||||
#include "toplev.h"
|
||||
#include "output.h"
|
||||
#include "parse.h"
|
||||
#include "function.h"
|
||||
#include "ggc.h"
|
||||
#include "stdio.h"
|
||||
#include "target.h"
|
||||
#include "expr.h"
|
||||
#include "tree-iterator.h"
|
||||
#include "cgraph.h"
|
||||
|
||||
|
@ -27,7 +27,6 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */
|
||||
#include "config.h"
|
||||
#include "system.h"
|
||||
#include "coretypes.h"
|
||||
#include "tm.h"
|
||||
#include "tree.h"
|
||||
#include "obstack.h"
|
||||
#include "flags.h"
|
||||
|
@ -27,7 +27,6 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */
|
||||
|
||||
#include "system.h"
|
||||
#include "coretypes.h"
|
||||
#include "tm.h"
|
||||
#include "tree.h"
|
||||
#include "parse.h"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user