* Re: toplev.h includes cleanup
[not found] <Pine.LNX.4.64.1011300331520.20356@digraph.polyomino.org.uk>
@ 2010-11-30 11:06 ` Joseph S. Myers
0 siblings, 0 replies; only message in thread
From: Joseph S. Myers @ 2010-11-30 11:06 UTC (permalink / raw)
To: gcc-patches; +Cc: java-patches
I forgot to CC java-patches on this patch
<http://gcc.gnu.org/ml/gcc-patches/2010-11/msg02865.html>. Note that
there are Java changes included.
> java:
> 2010-11-29 Joseph Myers <joseph@codesourcery.com>
>
> * expr.c, lang.c, mangle.c, mangle_name.c, typeck.c,
> verify-glue.c: Don't include toplev.h.
> * Make-lang.in: Dependencies for above files changed to remove
> toplev.h.
> Index: gcc/java/typeck.c
> ===================================================================
> --- gcc/java/typeck.c (revision 167241)
> +++ gcc/java/typeck.c (working copy)
> @@ -1,5 +1,6 @@
> /* Handle types for the GNU compiler for the Java(TM) language.
> - Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2007, 2008
> + Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2007,
> + 2008, 2009, 2010
> Free Software Foundation, Inc.
>
> This file is part of GCC.
> @@ -34,7 +35,6 @@ The Free Software Foundation is independ
> #include "jcf.h"
> #include "convert.h"
> #include "diagnostic-core.h"
> -#include "toplev.h"
> #include "ggc.h"
>
> static tree convert_ieee_real_to_integer (tree, tree);
> Index: gcc/java/mangle_name.c
> ===================================================================
> --- gcc/java/mangle_name.c (revision 167241)
> +++ gcc/java/mangle_name.c (working copy)
> @@ -1,6 +1,7 @@
> /* Shared functions related to mangling names for the GNU compiler
> for the Java(TM) language.
> - Copyright (C) 2001, 2002, 2003, 2007 Free Software Foundation, Inc.
> + Copyright (C) 2001, 2002, 2003, 2007, 2009, 2010
> + Free Software Foundation, Inc.
>
> This file is part of GCC.
>
> @@ -32,7 +33,6 @@ The Free Software Foundation is independ
> #include "java-tree.h"
> #include "obstack.h"
> #include "diagnostic-core.h"
> -#include "toplev.h"
>
> static void append_unicode_mangled_name (const char *, int);
> #ifndef HAVE_AS_UTF8
> Index: gcc/java/Make-lang.in
> ===================================================================
> --- gcc/java/Make-lang.in (revision 167241)
> +++ gcc/java/Make-lang.in (working copy)
> @@ -289,7 +289,7 @@ java/except.o: java/except.c $(CONFIG_H)
> toplev.h $(SYSTEM_H) coretypes.h
> java/expr.o: java/expr.c $(CONFIG_H) $(JAVA_TREE_H) java/jcf.h $(REAL_H) \
> java/javaop.h java/java-opcodes.h \
> - java/java-except.h java/java-except.h java/parse.h toplev.h \
> + java/java-except.h java/java-except.h java/parse.h \
> $(SYSTEM_H) coretypes.h $(TM_H) $(GGC_H) gt-java-expr.h $(TARGET_H) \
> tree-iterator.h
> java/jcf-depend.o: java/jcf-depend.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
> @@ -301,21 +301,21 @@ java/jcf-parse.o: java/jcf-parse.c $(CON
> 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) $(DIAGNOSTIC_H) \
> + $(SYSTEM_H) coretypes.h $(TM_H) $(DIAGNOSTIC_H) \
> langhooks.h $(LANGHOOKS_DEF_H) gt-java-lang.h $(OPTS_H) $(OPTIONS_H) \
> $(TARGET_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)
> + coretypes.h $(TM_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 toplev.h $(GGC_H)
> + $(SYSTEM_H) coretypes.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 $(GGC_H) $(REAL_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 java/verify.h toplev.h
> + coretypes.h java/verify.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) \
> Index: gcc/java/verify-glue.c
> ===================================================================
> --- gcc/java/verify-glue.c (revision 167241)
> +++ gcc/java/verify-glue.c (working copy)
> @@ -1,5 +1,6 @@
> /* Glue to interface gcj with bytecode verifier.
> - Copyright (C) 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc.
> + Copyright (C) 2003, 2004, 2005, 2006, 2007, 2010
> + Free Software Foundation, Inc.
>
> This file is part of GCC.
>
> @@ -34,7 +35,6 @@ The Free Software Foundation is independ
> #include "java-tree.h"
> #include "java-except.h"
> #include "diagnostic-core.h"
> -#include "toplev.h"
>
> void *
> vfy_alloc (size_t bytes)
> Index: gcc/java/mangle.c
> ===================================================================
> --- gcc/java/mangle.c (revision 167241)
> +++ gcc/java/mangle.c (working copy)
> @@ -1,6 +1,6 @@
> /* Functions related to mangling class names for the GNU compiler
> for the Java(TM) language.
> - Copyright (C) 1998, 1999, 2001, 2002, 2003, 2006, 2007, 2008
> + Copyright (C) 1998, 1999, 2001, 2002, 2003, 2006, 2007, 2008, 2009, 2010
> Free Software Foundation, Inc.
>
> This file is part of GCC.
> @@ -33,7 +33,6 @@ The Free Software Foundation is independ
> #include "java-tree.h"
> #include "obstack.h"
> #include "diagnostic-core.h"
> -#include "toplev.h"
> #include "ggc.h"
> #include "langhooks-def.h"
> #include "tm.h" /* FIXME: For gcc_obstack_init from defaults.h. */
> Index: gcc/java/expr.c
> ===================================================================
> --- gcc/java/expr.c (revision 167241)
> +++ gcc/java/expr.c (working copy)
> @@ -36,7 +36,6 @@ The Free Software Foundation is independ
> #include "java-except.h"
> #include "parse.h"
> #include "diagnostic-core.h"
> -#include "toplev.h"
> #include "ggc.h"
> #include "tree-iterator.h"
> #include "target.h"
> Index: gcc/java/lang.c
> ===================================================================
> --- gcc/java/lang.c (revision 167241)
> +++ gcc/java/lang.c (working copy)
> @@ -32,7 +32,6 @@ The Free Software Foundation is independ
> #include "input.h"
> #include "java-tree.h"
> #include "jcf.h"
> -#include "toplev.h"
> #include "langhooks.h"
> #include "langhooks-def.h"
> #include "flags.h"
--
Joseph S. Myers
joseph@codesourcery.com
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-11-30 11:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <Pine.LNX.4.64.1011300331520.20356@digraph.polyomino.org.uk>
2010-11-30 11:06 ` toplev.h includes cleanup Joseph S. Myers
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).