aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp
diff options
context:
space:
mode:
authorSteven Bosscher <steven@gcc.gnu.org>2012-05-31 20:19:00 +0000
committerSteven Bosscher <steven@gcc.gnu.org>2012-05-31 20:19:00 +0000
commitbe7a421eefeda2fdee75d67c512ccdabb408e019 (patch)
tree6ebcab211844d1a9387f950716f6b1c382244e82 /gcc/cp
parent039496da00fe37d2cc92600039e6877ea132a50b (diff)
downloadgcc-be7a421eefeda2fdee75d67c512ccdabb408e019.zip
gcc-be7a421eefeda2fdee75d67c512ccdabb408e019.tar.gz
gcc-be7a421eefeda2fdee75d67c512ccdabb408e019.tar.bz2
output.h (__gcc_host_wide_int__): Move to hwint.h.
* output.h (__gcc_host_wide_int__): Move to hwint.h. (decl_default_tls_model): Move to tree.h (dump_file): Move to system.h. (default_stabs_asm_out_destructor, default_stabs_asm_out_constructor, dbxout_int, dbxout_stabd, dbxout_begin_stabn, dbxout_begin_stabn_sline, dbxout_begin_empty_stabs, dbxout_begin_simple_stabs, dbxout_begin_simple_stabs_desc, dbxout_stab_value_zero, dbxout_stab_value_zero, dbxout_stab_value_label_diff, dbxout_stab_value_internal_label, dbxout_stab_value_internal_label_diff): Move from here ... * dbxout.h: ... to here. * system.h (dump_file): Moved here from output.h. * hwint.h (__gcc_host_wide_int__): Moved here from output.h. * tree.h (decl_default_tls_model): Moved here from output.h. * varasm.c (default_stabs_asm_out_destructor, default_stabs_asm_out_constructor): Move from here ... * dbxout.c: ... to here. * gcov-dump.c (dump_file): Rename to dump_gcov_file. Update callers. * collect2.h (dump_file): Rename to dump_ld_file. * collect2.c: Likewise. * tlink.c: Likewise. * alias.c: Do not include output.h. * auto-inc-dec.c: Likewise. * bt-load.c: Likewise. * caller-save.c: Likewise. * cfg.c: Likewise. * cfgbuild.c: Likewise. * cfgcleanup.c: Likewise. * cfglayout.c: Likewise. * cfgloop.c: Likewise. * cfgloopanal.c: Likewise. * cfgloopmanip.c: Likewise. * cfgrtl.c: Likewise. * cgraph.c: Likewise. * cgraphclones.c: Likewise. * combine-stack-adj.c: Likewise. * combine.c: Likewise. * cprop.c: Likewise. * cse.c: Likewise. * cselib.c: Likewise. * dbgcnt.c: Likewise. * df-problems.c: Likewise. * df-scan.c: Likewise. * dojump.c: Likewise. * fwprop.c: Likewise. * gcse.c: Likewise. * graph.c: Likewise. * haifa-sched.c: Likewise. * hw-doloop.c: Likewise. * ipa-inline-transform.c: Likewise. * ipa-pure-const.c: Likewise. * ipa-reference.c: Likewise. * ipa-utils.c: Likewise. * ira-build.c: Likewise. * ira-emit.c: Likewise. * lcm.c: Likewise. * loop-doloop.c: Likewise. * loop-invariant.c: Likewise. * loop-iv.c: Likewise. * loop-unroll.c: Likewise. * loop-unswitch.c: Likewise. * lto-cgraph.c: Likewise. * lto-section-in.c: Likewise. * lto-streamer-in.c: Likewise. * mcf.c: Likewise. * mode-switching.c: Likewise. * postreload-gcse.c: Likewise. * postreload.c: Likewise. * predict.c: Likewise. * profile.c: Likewise. * ree.c: Likewise. * reg-stack.c: Likewise. * regcprop.c: Likewise. * regmove.c: Likewise. * regstat.c: Likewise. * reload1.c: Likewise. * sched-ebb.c: Likewise. * sel-sched-dump.c: Likewise. * simplify-rtx.c: Likewise. * stor-layout.c: Likewise. * store-motion.c: Likewise. * tracer.c: Likewise. * tree-affine.c: Likewise. * tree-cfg.c: Likewise. * tree-cfgcleanup.c: Likewise. * tree-dfa.c: Likewise. * tree-into-ssa.c: Likewise. * tree-nomudflap.c: Likewise. * tree-optimize.c: Likewise. * tree-pretty-print.c: Likewise. * tree-profile.c: Likewise. * tree-ssa-address.c: Likewise. * tree-ssa-ccp.c: Likewise. * tree-ssa-copy.c: Likewise. * tree-ssa-dom.c: Likewise. * tree-ssa-loop-ch.c: Likewise. * tree-ssa-loop-im.c: Likewise. * tree-ssa-loop-manip.c: Likewise. * tree-ssa-loop-niter.c: Likewise. * tree-ssa-loop-prefetch.c: Likewise. * tree-ssa-loop-unswitch.c: Likewise. * tree-ssa-loop.c: Likewise. * tree-ssa-propagate.c: Likewise. * tree-ssa-structalias.c: Likewise. * tree-ssa-tail-merge.c: Likewise. * tree-ssa-threadedge.c: Likewise. * tree-ssa-threadupdate.c: Likewise. * tree-ssa-uncprop.c: Likewise. * tree-ssa-uninit.c: Likewise. * tree-ssa.c: Likewise. * value-prof.c: Likewise. * var-tracking.c: Likewise. * web.c: Likewise. * config/m32r/m32r.c: Include dbxout.h. * config/pa/pa.c: Likewise. * config/rs6000/rs6000.c: Likewise. * Makefile.in: Fix dependencies. * config/rs6000/t-rs5000: Likewise. c-family/ * c-ada-spec.c: Do not include output.h. * c-semantics.c: Likewise. cp/ * call.c: Do not include output.h. * class.c: Likewise. * except.c: Likewise. * friend.c: Likewise. * init.c: Likewise. * lex.c: Likewise. * method.c: Likewise. * parser.c: Likewise. * pt.c: Likewise. * rtti.c: Likewise. * search.c: Likewise. objc/ * objc-act.c: Do not include output.h. fortran/ * trans-common.c: Do not include output.h. * trans-decl.c: Likewise. java/ * resource.c: Do not include output.h. From-SVN: r188082
Diffstat (limited to 'gcc/cp')
-rw-r--r--gcc/cp/ChangeLog14
-rw-r--r--gcc/cp/Make-lang.in4
-rw-r--r--gcc/cp/call.c1
-rw-r--r--gcc/cp/class.c1
-rw-r--r--gcc/cp/except.c1
-rw-r--r--gcc/cp/init.c1
-rw-r--r--gcc/cp/lex.c1
-rw-r--r--gcc/cp/method.c1
-rw-r--r--gcc/cp/parser.c1
-rw-r--r--gcc/cp/pt.c1
-rw-r--r--gcc/cp/rtti.c1
-rw-r--r--gcc/cp/search.c1
12 files changed, 16 insertions, 12 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 2dcdb77..b1f0734 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,17 @@
+2012-05-31 Steven Bosscher <steven@gcc.gnu.org>
+
+ * call.c: Do not include output.h.
+ * class.c: Likewise.
+ * except.c: Likewise.
+ * friend.c: Likewise.
+ * init.c: Likewise.
+ * lex.c: Likewise.
+ * method.c: Likewise.
+ * parser.c: Likewise.
+ * pt.c: Likewise.
+ * rtti.c: Likewise.
+ * search.c: Likewise.
+
2012-05-30 Jason Merrill <jason@redhat.com>
PR c++/53356
diff --git a/gcc/cp/Make-lang.in b/gcc/cp/Make-lang.in
index c32c87e..a6de644 100644
--- a/gcc/cp/Make-lang.in
+++ b/gcc/cp/Make-lang.in
@@ -265,7 +265,7 @@ CXX_PARSER_H = tree.h c-family/c-pragma.h cp/parser.h
CXX_PRETTY_PRINT_H = cp/cxx-pretty-print.h $(C_PRETTY_PRINT_H)
cp/lex.o: cp/lex.c $(CXX_TREE_H) $(TM_H) $(FLAGS_H) \
- $(C_PRAGMA_H) output.h input.h cp/operators.def $(TM_P_H) \
+ $(C_PRAGMA_H) input.h cp/operators.def $(TM_P_H) \
c-family/c-objc.h
cp/cp-lang.o: cp/cp-lang.c $(CXX_TREE_H) $(TM_H) debug.h langhooks.h \
$(LANGHOOKS_DEF_H) $(C_COMMON_H) gtype-cp.h gt-cp-cp-lang.h \
@@ -334,7 +334,7 @@ cp/optimize.o: cp/optimize.c $(CXX_TREE_H) $(TM_H) \
cp/mangle.o: cp/mangle.c $(CXX_TREE_H) $(TM_H) $(REAL_H) \
gt-cp-mangle.h $(TARGET_H) $(TM_P_H) $(CGRAPH_H)
cp/parser.o: cp/parser.c $(CXX_TREE_H) $(TM_H) $(DIAGNOSTIC_CORE_H) \
- gt-cp-parser.h output.h $(TARGET_H) $(PLUGIN_H) intl.h \
+ gt-cp-parser.h $(TARGET_H) $(PLUGIN_H) intl.h \
c-family/c-objc.h tree-pretty-print.h $(CXX_PARSER_H) $(TIMEVAR.H)
cp/cp-gimplify.o: cp/cp-gimplify.c $(CXX_TREE_H) $(C_COMMON_H) \
$(TM_H) coretypes.h pointer-set.h tree-iterator.h $(SPLAY_TREE_H)
diff --git a/gcc/cp/call.c b/gcc/cp/call.c
index 5efa57c..6745afd 100644
--- a/gcc/cp/call.c
+++ b/gcc/cp/call.c
@@ -31,7 +31,6 @@ along with GCC; see the file COPYING3. If not see
#include "tm.h"
#include "tree.h"
#include "cp-tree.h"
-#include "output.h"
#include "flags.h"
#include "toplev.h"
#include "diagnostic-core.h"
diff --git a/gcc/cp/class.c b/gcc/cp/class.c
index 5aef0fe..c30054d 100644
--- a/gcc/cp/class.c
+++ b/gcc/cp/class.c
@@ -31,7 +31,6 @@ along with GCC; see the file COPYING3. If not see
#include "tree.h"
#include "cp-tree.h"
#include "flags.h"
-#include "output.h"
#include "toplev.h"
#include "target.h"
#include "convert.h"
diff --git a/gcc/cp/except.c b/gcc/cp/except.c
index 8998c7d..6fe3cce 100644
--- a/gcc/cp/except.c
+++ b/gcc/cp/except.c
@@ -30,7 +30,6 @@ along with GCC; see the file COPYING3. If not see
#include "tree.h"
#include "cp-tree.h"
#include "flags.h"
-#include "output.h"
#include "tree-inline.h"
#include "tree-iterator.h"
#include "target.h"
diff --git a/gcc/cp/init.c b/gcc/cp/init.c
index ca6f14a..5bd46cb 100644
--- a/gcc/cp/init.c
+++ b/gcc/cp/init.c
@@ -29,7 +29,6 @@ along with GCC; see the file COPYING3. If not see
#include "tree.h"
#include "cp-tree.h"
#include "flags.h"
-#include "output.h"
#include "target.h"
static bool begin_init_stmts (tree *, tree *);
diff --git a/gcc/cp/lex.c b/gcc/cp/lex.c
index a79448e..743f475 100644
--- a/gcc/cp/lex.c
+++ b/gcc/cp/lex.c
@@ -34,7 +34,6 @@ along with GCC; see the file COPYING3. If not see
#include "flags.h"
#include "c-family/c-pragma.h"
#include "c-family/c-objc.h"
-#include "output.h"
#include "tm_p.h"
#include "timevar.h"
diff --git a/gcc/cp/method.c b/gcc/cp/method.c
index 77f88398..6e29521 100644
--- a/gcc/cp/method.c
+++ b/gcc/cp/method.c
@@ -29,7 +29,6 @@ along with GCC; see the file COPYING3. If not see
#include "tm.h"
#include "tree.h"
#include "cp-tree.h"
-#include "output.h"
#include "flags.h"
#include "toplev.h"
#include "tm_p.h"
diff --git a/gcc/cp/parser.c b/gcc/cp/parser.c
index 9fd8c84..547f9e2 100644
--- a/gcc/cp/parser.c
+++ b/gcc/cp/parser.c
@@ -32,7 +32,6 @@ along with GCC; see the file COPYING3. If not see
#include "decl.h"
#include "flags.h"
#include "diagnostic-core.h"
-#include "output.h"
#include "target.h"
#include "cgraph.h"
#include "c-family/c-common.h"
diff --git a/gcc/cp/pt.c b/gcc/cp/pt.c
index fa994ba..c55687b 100644
--- a/gcc/cp/pt.c
+++ b/gcc/cp/pt.c
@@ -40,7 +40,6 @@ along with GCC; see the file COPYING3. If not see
#include "cp-objcp-common.h"
#include "tree-inline.h"
#include "decl.h"
-#include "output.h"
#include "toplev.h"
#include "timevar.h"
#include "tree-iterator.h"
diff --git a/gcc/cp/rtti.c b/gcc/cp/rtti.c
index bdeea71..e79b02e 100644
--- a/gcc/cp/rtti.c
+++ b/gcc/cp/rtti.c
@@ -28,7 +28,6 @@ along with GCC; see the file COPYING3. If not see
#include "tree.h"
#include "cp-tree.h"
#include "flags.h"
-#include "output.h"
#include "convert.h"
#include "target.h"
#include "c-family/c-pragma.h"
diff --git a/gcc/cp/search.c b/gcc/cp/search.c
index 19ef596..e6d6be8 100644
--- a/gcc/cp/search.c
+++ b/gcc/cp/search.c
@@ -32,7 +32,6 @@ along with GCC; see the file COPYING3. If not see
#include "cp-tree.h"
#include "intl.h"
#include "flags.h"
-#include "output.h"
#include "toplev.h"
#include "target.h"