Commit 8713b7e4 by Eric Botcazou Committed by Eric Botcazou

cuintp.c: Clean up include directives.

	* gcc-interface/cuintp.c: Clean up include directives.
	* gcc-interface/targtyps.c: Likewise.
	* gcc-interface/decl.c: Likewise.
	* gcc-interface/misc.c: Likewise.
	* gcc-interface/trans.c: Likewise.
	* gcc-interface/utils.c: Likewise.
	* gcc-interface/utils2.c: Likewise.
	* gcc-interface/Make-lang.in: Adjust dependencies accordingly.

From-SVN: r146643
parent b2f21330
2009-04-23 Eric Botcazou <ebotcazou@adacore.com> 2009-04-23 Eric Botcazou <ebotcazou@adacore.com>
* gcc-interface/cuintp.c: Clean up include directives.
* gcc-interface/targtyps.c: Likewise.
* gcc-interface/decl.c: Likewise.
* gcc-interface/misc.c: Likewise.
* gcc-interface/trans.c: Likewise.
* gcc-interface/utils.c: Likewise.
* gcc-interface/utils2.c: Likewise.
* gcc-interface/Make-lang.in: Adjust dependencies accordingly.
2009-04-23 Eric Botcazou <ebotcazou@adacore.com>
* gcc-interface/ada-tree.h (union lang_tree_node): Use standard idiom. * gcc-interface/ada-tree.h (union lang_tree_node): Use standard idiom.
(SET_TYPE_LANG_SPECIFIC): Likewise. Fix formatting. (SET_TYPE_LANG_SPECIFIC): Likewise. Fix formatting.
(SET_DECL_LANG_SPECIFIC): Likewise. (SET_DECL_LANG_SPECIFIC): Likewise.
......
...@@ -1143,69 +1143,63 @@ ada/raise.o : ada/raise.c $(CONFIG_H) $(SYSTEM_H) ada/adaint.h ada/raise.h ...@@ -1143,69 +1143,63 @@ ada/raise.o : ada/raise.c $(CONFIG_H) $(SYSTEM_H) ada/adaint.h ada/raise.h
$(CC) -c $(ALL_CFLAGS) $(ADA_CFLAGS) \ $(CC) -c $(ALL_CFLAGS) $(ADA_CFLAGS) \
$(ALL_CPPFLAGS) $(INCLUDES) $< $(OUTPUT_OPTION) $(ALL_CPPFLAGS) $(INCLUDES) $< $(OUTPUT_OPTION)
# Need to keep the frame pointer in this file to pop the stack properly on # Need to keep the frame pointer to unwind the stack properly for some targets.
# some targets. ada/tracebak.o : ada/tracebak.c $(CONFIG_H) $(SYSTEM_H)
ada/tracebak.o : ada/tracebak.c $(CONFIG_H) $(SYSTEM_H)
$(CC) -c $(ALL_CFLAGS) $(ADA_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \ $(CC) -c $(ALL_CFLAGS) $(ADA_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
-fno-omit-frame-pointer $< $(OUTPUT_OPTION) -fno-omit-frame-pointer $< $(OUTPUT_OPTION)
ada/cuintp.o : ada/gcc-interface/cuintp.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \ ada/cuintp.o : ada/gcc-interface/cuintp.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
$(TREE_H) ada/gcc-interface/ada.h ada/types.h ada/uintp.h ada/atree.h ada/stringt.h \ $(TM_H) $(TREE_H) ada/gcc-interface/ada.h ada/types.h ada/uintp.h \
ada/elists.h ada/nlists.h ada/fe.h ada/gcc-interface/gigi.h ada/atree.h ada/elists.h ada/nlists.h ada/stringt.h ada/fe.h $(ADA_TREE_H) \
ada/gcc-interface/gigi.h
$(CC) -c $(ALL_CFLAGS) -I.. $(ALL_CPPFLAGS) $< -o $@ $(CC) -c $(ALL_CFLAGS) -I.. $(ALL_CPPFLAGS) $< -o $@
ada/decl.o : ada/gcc-interface/decl.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \ ada/decl.o : ada/gcc-interface/decl.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
$(TM_H) $(TREE_H) $(FLAGS_H) toplev.h convert.h $(TARGET_H) \ $(TM_H) $(TREE_H) $(FLAGS_H) toplev.h $(TARGET_H) $(EXPR_H) \
ada/gcc-interface/ada.h ada/types.h ada/atree.h \ $(TREE_INLINE_H) ada/gcc-interface/ada.h ada/types.h ada/atree.h \
ada/nlists.h ada/elists.h ada/uintp.h ada/sinfo.h ada/einfo.h ada/snames.h \ ada/elists.h ada/namet.h ada/nlists.h ada/repinfo.h ada/snames.h \
ada/namet.h ada/stringt.h ada/repinfo.h ada/fe.h $(ADA_TREE_H) \ ada/stringt.h ada/uintp.h ada/fe.h ada/sinfo.h ada/einfo.h $(ADA_TREE_H) \
ada/gcc-interface/gigi.h \ ada/gcc-interface/gigi.h gt-ada-decl.h
$(EXPR_H) gt-ada-decl.h
$(CC) -c $(ALL_CFLAGS) -I.. $(ALL_CPPFLAGS) $< -o $@ $(CC) -c $(ALL_CFLAGS) -I.. $(ALL_CPPFLAGS) $< -o $@
ada/misc.o : ada/gcc-interface/misc.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \ ada/misc.o : ada/gcc-interface/misc.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
$(TM_H) $(TREE_H) \ $(TM_H) $(TREE_H) $(DIAGNOSTIC_H) $(TARGET_H) $(EXPR_H) libfuncs.h \
$(RTL_H) $(EXPR_H) insn-codes.h insn-flags.h insn-config.h recog.h \ $(FLAGS_H) debug.h $(CGRAPH_H) $(OPTABS_H) toplev.h except.h langhooks.h \
$(FLAGS_H) $(DIAGNOSTIC_H) output.h except.h $(TM_P_H) langhooks.h debug.h \ $(LANGHOOKS_DEF_H) opts.h options.h $(TREE_INLINE_H) \
$(LANGHOOKS_DEF_H) libfuncs.h $(OPTABS_H) ada/gcc-interface/ada.h \ ada/gcc-interface/ada.h ada/adadecode.h ada/types.h ada/atree.h \
ada/types.h \ ada/elists.h ada/namet.h ada/nlists.h ada/stringt.h ada/uintp.h ada/fe.h \
ada/atree.h ada/nlists.h ada/elists.h ada/sinfo.h ada/einfo.h ada/namet.h \ ada/sinfo.h ada/einfo.h $(ADA_TREE_H) ada/gcc-interface/gigi.h
ada/stringt.h ada/uintp.h ada/fe.h $(ADA_TREE_H) ada/gcc-interface/gigi.h \
ada/adadecode.h opts.h options.h $(TARGET_H) $(REAL_H)
$(CC) -c $(ALL_CFLAGS) -I.. $(ALL_CPPFLAGS) $< -o $@ $(CC) -c $(ALL_CFLAGS) -I.. $(ALL_CPPFLAGS) $< -o $@
ada/targtyps.o : ada/gcc-interface/targtyps.c $(CONFIG_H) $(SYSTEM_H) \ ada/targtyps.o : ada/gcc-interface/targtyps.c $(CONFIG_H) $(SYSTEM_H) \
coretypes.h $(TM_H) \ coretypes.h $(TM_H) $(TREE_H) ada/gcc-interface/ada.h ada/types.h \
$(TREE_H) ada/gcc-interface/ada.h ada/types.h ada/atree.h ada/nlists.h \ ada/atree.h ada/elists.h ada/namet.h ada/nlists.h ada/snames.h \
ada/elists.h \ ada/stringt.h ada/uintp.h ada/urealp.h ada/fe.h ada/sinfo.h ada/einfo.h \
ada/uintp.h ada/sinfo.h ada/einfo.h ada/namet.h ada/snames.h ada/stringt.h \ $(ADA_TREE_H) ada/gcc-interface/gigi.h
ada/urealp.h ada/fe.h $(ADA_TREE_H) ada/gcc-interface/gigi.h
$(CC) -c $(ALL_CFLAGS) -I.. $(ALL_CPPFLAGS) $< -o $@ $(CC) -c $(ALL_CFLAGS) -I.. $(ALL_CPPFLAGS) $< -o $@
ada/trans.o : ada/gcc-interface/trans.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \ ada/trans.o : ada/gcc-interface/trans.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
$(TM_H) \ $(TM_H) $(TREE_H) $(FLAGS_H) $(EXPR_H) output.h tree-iterator.h \
$(TREE_H) $(RTL_H) $(EXPR_H) $(FLAGS_H) $(FUNCTION_H) \ $(GIMPLE_H) ada/gcc-interface/ada.h ada/adadecode.h ada/types.h \
ada/gcc-interface/ada.h except.h \ ada/atree.h ada/elists.h ada/namet.h ada/nlists.h ada/snames.h \
ada/types.h ada/atree.h ada/nlists.h ada/elists.h ada/uintp.h ada/sinfo.h \ ada/stringt.h ada/uintp.h ada/urealp.h ada/fe.h ada/sinfo.h ada/einfo.h \
ada/einfo.h ada/namet.h ada/snames.h ada/stringt.h ada/urealp.h ada/fe.h \ $(ADA_TREE_H) ada/gcc-interface/gigi.h gt-ada-trans.h
$(ADA_TREE_H) ada/gcc-interface/gigi.h gt-ada-trans.h tree-iterator.h
$(CC) -c $(ALL_CFLAGS) -I.. $(ALL_CPPFLAGS) $< -o $@ $(CC) -c $(ALL_CFLAGS) -I.. $(ALL_CPPFLAGS) $< -o $@
ada/utils.o : ada/gcc-interface/utils.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \ ada/utils.o : ada/gcc-interface/utils.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
$(TM_H) \ $(TM_H) $(TREE_H) $(FLAGS_H) toplev.h $(RTL_H) output.h debug.h convert.h \
$(TREE_H) $(FLAGS_H) $(EXPR_H) convert.h defaults.h langhooks.h \ $(TARGET_H) function.h langhooks.h pointer-set.h $(CGRAPH_H) \
ada/gcc-interface/ada.h ada/types.h \ $(TREE_DUMP_H) $(TREE_INLINE_H) tree-iterator.h $(GIMPLE_H) \
ada/atree.h ada/nlists.h ada/elists.h ada/sinfo.h \ ada/gcc-interface/ada.h ada/types.h ada/atree.h ada/elists.h ada/namet.h \
ada/einfo.h ada/namet.h ada/stringt.h ada/uintp.h ada/fe.h $(ADA_TREE_H) \ ada/nlists.h ada/stringt.h ada/uintp.h ada/fe.h ada/sinfo.h ada/einfo.h \
ada/gcc-interface/gigi.h gt-ada-utils.h \ $(ADA_TREE_H) ada/gcc-interface/gigi.h gt-ada-utils.h gtype-ada.h
gtype-ada.h $(TARGET_H) tree-iterator.h
$(CC) -c $(ALL_CFLAGS) -I.. $(ALL_CPPFLAGS) $< -o $@ $(CC) -c $(ALL_CFLAGS) -I.. $(ALL_CPPFLAGS) $< -o $@
ada/utils2.o : ada/gcc-interface/utils2.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \ ada/utils2.o : ada/gcc-interface/utils2.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
$(TM_H) $(TREE_H) $(FLAGS_H) ada/gcc-interface/ada.h ada/types.h \ $(TM_H) $(TREE_H) $(FLAGS_H) output.h $(TREE_INLINE_H) \
ada/atree.h ada/nlists.h ada/elists.h ada/sinfo.h ada/einfo.h ada/namet.h \ ada/gcc-interface/ada.h ada/types.h ada/atree.h ada/elists.h ada/namet.h \
ada/snames.h ada/stringt.h ada/uintp.h ada/fe.h $(ADA_TREE_H) \ ada/nlists.h ada/snames.h ada/stringt.h ada/uintp.h ada/fe.h ada/sinfo.h \
ada/gcc-interface/gigi.h ada/einfo.h $(ADA_TREE_H) ada/gcc-interface/gigi.h
$(CC) -c $(ALL_CFLAGS) -I.. $(ALL_CPPFLAGS) $< -o $@ $(CC) -c $(ALL_CFLAGS) -I.. $(ALL_CPPFLAGS) $< -o $@
# #
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
* * * *
* C Implementation File * * C Implementation File *
* * * *
* Copyright (C) 1992-2008, Free Software Foundation, Inc. * * Copyright (C) 1992-2009, Free Software Foundation, Inc. *
* * * *
* GNAT is free software; you can redistribute it and/or modify it under * * GNAT is free software; you can redistribute it and/or modify it under *
* terms of the GNU General Public License as published by the Free Soft- * * terms of the GNU General Public License as published by the Free Soft- *
...@@ -31,6 +31,7 @@ ...@@ -31,6 +31,7 @@
#include "coretypes.h" #include "coretypes.h"
#include "tm.h" #include "tm.h"
#include "tree.h" #include "tree.h"
#include "ada.h" #include "ada.h"
#include "types.h" #include "types.h"
#include "uintp.h" #include "uintp.h"
...@@ -39,8 +40,8 @@ ...@@ -39,8 +40,8 @@
#include "nlists.h" #include "nlists.h"
#include "stringt.h" #include "stringt.h"
#include "fe.h" #include "fe.h"
#include "gigi.h"
#include "ada-tree.h" #include "ada-tree.h"
#include "gigi.h"
/* Universal integers are represented by the Uint type which is an index into /* Universal integers are represented by the Uint type which is an index into
the Uints_Ptr table containing Uint_Entry values. A Uint_Entry contains an the Uints_Ptr table containing Uint_Entry values. A Uint_Entry contains an
......
...@@ -30,9 +30,7 @@ ...@@ -30,9 +30,7 @@
#include "tree.h" #include "tree.h"
#include "flags.h" #include "flags.h"
#include "toplev.h" #include "toplev.h"
#include "convert.h"
#include "ggc.h" #include "ggc.h"
#include "obstack.h"
#include "target.h" #include "target.h"
#include "expr.h" #include "expr.h"
...@@ -49,7 +47,6 @@ ...@@ -49,7 +47,6 @@
#include "fe.h" #include "fe.h"
#include "sinfo.h" #include "sinfo.h"
#include "einfo.h" #include "einfo.h"
#include "hashtab.h"
#include "ada-tree.h" #include "ada-tree.h"
#include "gigi.h" #include "gigi.h"
......
...@@ -32,30 +32,25 @@ ...@@ -32,30 +32,25 @@
#include "coretypes.h" #include "coretypes.h"
#include "tm.h" #include "tm.h"
#include "tree.h" #include "tree.h"
#include "real.h"
#include "rtl.h"
#include "diagnostic.h" #include "diagnostic.h"
#include "target.h"
#include "expr.h" #include "expr.h"
#include "libfuncs.h" #include "libfuncs.h"
#include "ggc.h" #include "ggc.h"
#include "flags.h" #include "flags.h"
#include "debug.h" #include "debug.h"
#include "cgraph.h" #include "cgraph.h"
#include "tree-inline.h"
#include "insn-codes.h"
#include "insn-flags.h"
#include "insn-config.h"
#include "optabs.h" #include "optabs.h"
#include "recog.h"
#include "toplev.h" #include "toplev.h"
#include "output.h"
#include "except.h" #include "except.h"
#include "tm_p.h"
#include "langhooks.h" #include "langhooks.h"
#include "langhooks-def.h" #include "langhooks-def.h"
#include "target.h" #include "opts.h"
#include "options.h"
#include "tree-inline.h"
#include "ada.h" #include "ada.h"
#include "adadecode.h"
#include "types.h" #include "types.h"
#include "atree.h" #include "atree.h"
#include "elists.h" #include "elists.h"
...@@ -68,9 +63,6 @@ ...@@ -68,9 +63,6 @@
#include "einfo.h" #include "einfo.h"
#include "ada-tree.h" #include "ada-tree.h"
#include "gigi.h" #include "gigi.h"
#include "adadecode.h"
#include "opts.h"
#include "options.h"
static bool gnat_init (void); static bool gnat_init (void);
static unsigned int gnat_init_options (unsigned int, const char **); static unsigned int gnat_init_options (unsigned int, const char **);
......
...@@ -30,8 +30,7 @@ ...@@ -30,8 +30,7 @@
#include "coretypes.h" #include "coretypes.h"
#include "tm.h" #include "tm.h"
#include "tree.h" #include "tree.h"
#include "real.h"
#include "rtl.h"
#include "ada.h" #include "ada.h"
#include "types.h" #include "types.h"
#include "atree.h" #include "atree.h"
......
...@@ -28,20 +28,15 @@ ...@@ -28,20 +28,15 @@
#include "coretypes.h" #include "coretypes.h"
#include "tm.h" #include "tm.h"
#include "tree.h" #include "tree.h"
#include "real.h"
#include "flags.h" #include "flags.h"
#include "toplev.h"
#include "rtl.h"
#include "expr.h" #include "expr.h"
#include "ggc.h" #include "ggc.h"
#include "cgraph.h"
#include "function.h"
#include "except.h"
#include "debug.h"
#include "output.h" #include "output.h"
#include "tree-iterator.h" #include "tree-iterator.h"
#include "gimple.h" #include "gimple.h"
#include "ada.h" #include "ada.h"
#include "adadecode.h"
#include "types.h" #include "types.h"
#include "atree.h" #include "atree.h"
#include "elists.h" #include "elists.h"
...@@ -56,9 +51,6 @@ ...@@ -56,9 +51,6 @@
#include "einfo.h" #include "einfo.h"
#include "ada-tree.h" #include "ada-tree.h"
#include "gigi.h" #include "gigi.h"
#include "adadecode.h"
#include "dwarf2.h"
#include "dwarf2out.h"
/* We should avoid allocating more than ALLOCA_THRESHOLD bytes via alloca, /* We should avoid allocating more than ALLOCA_THRESHOLD bytes via alloca,
for fear of running out of stack space. If we need more, we use xmalloc for fear of running out of stack space. If we need more, we use xmalloc
......
...@@ -33,22 +33,21 @@ ...@@ -33,22 +33,21 @@
#include "tm.h" #include "tm.h"
#include "tree.h" #include "tree.h"
#include "flags.h" #include "flags.h"
#include "defaults.h"
#include "toplev.h" #include "toplev.h"
#include "rtl.h"
#include "output.h" #include "output.h"
#include "ggc.h" #include "ggc.h"
#include "debug.h" #include "debug.h"
#include "convert.h" #include "convert.h"
#include "target.h" #include "target.h"
#include "function.h" #include "function.h"
#include "langhooks.h"
#include "pointer-set.h"
#include "cgraph.h" #include "cgraph.h"
#include "tree-dump.h"
#include "tree-inline.h" #include "tree-inline.h"
#include "tree-iterator.h" #include "tree-iterator.h"
#include "gimple.h" #include "gimple.h"
#include "tree-dump.h"
#include "pointer-set.h"
#include "langhooks.h"
#include "rtl.h"
#include "ada.h" #include "ada.h"
#include "types.h" #include "types.h"
......
...@@ -28,24 +28,23 @@ ...@@ -28,24 +28,23 @@
#include "coretypes.h" #include "coretypes.h"
#include "tm.h" #include "tm.h"
#include "tree.h" #include "tree.h"
#include "rtl.h"
#include "ggc.h" #include "ggc.h"
#include "flags.h" #include "flags.h"
#include "output.h" #include "output.h"
#include "ada.h" #include "ada.h"
#include "types.h" #include "types.h"
#include "atree.h" #include "atree.h"
#include "stringt.h" #include "elists.h"
#include "namet.h" #include "namet.h"
#include "nlists.h"
#include "snames.h"
#include "stringt.h"
#include "uintp.h" #include "uintp.h"
#include "fe.h" #include "fe.h"
#include "elists.h"
#include "nlists.h"
#include "sinfo.h" #include "sinfo.h"
#include "einfo.h" #include "einfo.h"
#include "ada-tree.h" #include "ada-tree.h"
#include "gigi.h" #include "gigi.h"
#include "snames.h"
static tree find_common_type (tree, tree); static tree find_common_type (tree, tree);
static bool contains_save_expr_p (tree); static bool contains_save_expr_p (tree);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment