aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp
diff options
context:
space:
mode:
authorSteven Bosscher <steven@gcc.gnu.org>2012-06-04 11:17:58 +0000
committerSteven Bosscher <steven@gcc.gnu.org>2012-06-04 11:17:58 +0000
commita4b7d13c17f51702b93610d3c1a7d741acda6196 (patch)
tree8e9c8694b65f0c085a2c42663cc1b4b5fb0e57b4 /gcc/cp
parent0b8a03e10ef01bf8f44bbba141a0c2451317c887 (diff)
downloadgcc-a4b7d13c17f51702b93610d3c1a7d741acda6196.zip
gcc-a4b7d13c17f51702b93610d3c1a7d741acda6196.tar.gz
gcc-a4b7d13c17f51702b93610d3c1a7d741acda6196.tar.bz2
output.h (merge_weak, [...]): Move protos from here...
* output.h (merge_weak, assemble_alias, initializer_constant_valid_p, initializer_constant_valid_for_bitfield_p): Move protos from here... * tree.h: ... to here. * cgraphclones.c: Do not include output.h. * gimplify.c: Likewise. * reload.c: Likewise. * recog.c: Likewise. * tree-ssa-loop-ivopts.c: Likewise. * tree-switch-conversion.c: Likewise. * c-parser.c: Likewise. * c-typeck.c: Likewise. * Makefile.in: Fix dependencies. c-family/ * c-common.c: Do not include output.h. * c-pragma.c: Likewise. cp/ * semantics.c: Do not include output.h. * decl2.c: Likewise. * friend.c: Likewise. * typeck.c: Likewise. * typeck2.c: Likewise. * Make-lang.in: Fix dependencies. ada/ * gcc-interface/utils2.c: Do not include output.h. * gcc-interface/Make-lang.in: Fix dependencies. From-SVN: r188178
Diffstat (limited to 'gcc/cp')
-rw-r--r--gcc/cp/ChangeLog9
-rw-r--r--gcc/cp/Make-lang.in8
-rw-r--r--gcc/cp/decl.c2
-rw-r--r--gcc/cp/decl2.c1
-rw-r--r--gcc/cp/friend.c1
-rw-r--r--gcc/cp/semantics.c1
-rw-r--r--gcc/cp/typeck.c1
-rw-r--r--gcc/cp/typeck2.c1
8 files changed, 14 insertions, 10 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index b094504..1a2f8e6 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,12 @@
+2012-06-04 Steven Bosscher <steven@gcc.gnu.org>
+
+ * semantics.c: Do not include output.h.
+ * decl2.c: Likewise.
+ * friend.c: Likewise.
+ * typeck.c: Likewise.
+ * typeck2.c: Likewise.
+ * Make-lang.in: Fix dependencies.
+
2012-06-01 Jason Merrill <jason@redhat.com>
PR c++/52973
diff --git a/gcc/cp/Make-lang.in b/gcc/cp/Make-lang.in
index a6de644..af355f0 100644
--- a/gcc/cp/Make-lang.in
+++ b/gcc/cp/Make-lang.in
@@ -277,7 +277,7 @@ cp/decl.o: cp/decl.c $(CXX_TREE_H) $(TM_H) $(FLAGS_H) cp/decl.h \
intl.h tree-iterator.h pointer-set.h $(SPLAY_TREE_H) \
c-family/c-objc.h
cp/decl2.o: cp/decl2.c $(CXX_TREE_H) $(TM_H) $(FLAGS_H) cp/decl.h \
- output.h toplev.h $(C_COMMON_H) gt-cp-decl2.h $(CGRAPH_H) \
+ toplev.h $(C_COMMON_H) gt-cp-decl2.h $(CGRAPH_H) \
$(C_PRAGMA_H) $(TREE_DUMP_H) intl.h $(TARGET_H) $(GIMPLE_H) pointer-set.h \
$(SPLAY_TREE_H) c-family/c-ada-spec.h \
c-family/c-objc.h
@@ -285,11 +285,11 @@ cp/cp-objcp-common.o : cp/cp-objcp-common.c $(CONFIG_H) $(SYSTEM_H) \
coretypes.h $(TM_H) $(TREE_H) $(CXX_TREE_H) $(C_COMMON_H) \
langhooks.h $(LANGHOOKS_DEF_H) $(DIAGNOSTIC_H) debug.h \
$(CXX_PRETTY_PRINT_H) cp/cp-objcp-common.h gt-cp-cp-objcp-common.h
-cp/typeck2.o: cp/typeck2.c $(CXX_TREE_H) $(TM_H) $(FLAGS_H) output.h \
+cp/typeck2.o: cp/typeck2.c $(CXX_TREE_H) $(TM_H) $(FLAGS_H) \
$(TM_P_H) $(DIAGNOSTIC_CORE_H) gt-cp-typeck2.h $(REAL_H) intl.h
cp/typeck.o: cp/typeck.c $(CXX_TREE_H) $(TM_H) $(FLAGS_H) \
toplev.h $(DIAGNOSTIC_H) convert.h $(C_COMMON_H) $(TARGET_H) \
- output.h c-family/c-objc.h
+ c-family/c-objc.h
cp/class.o: cp/class.c $(CXX_TREE_H) $(TM_H) $(FLAGS_H) toplev.h \
$(TARGET_H) convert.h $(CGRAPH_H) $(TREE_DUMP_H) gt-cp-class.h \
$(SPLAY_TREE_H) pointer-set.h
@@ -324,7 +324,7 @@ cp/error.o: cp/error.c $(CXX_TREE_H) $(TM_H) $(DIAGNOSTIC_H) \
cp/repo.o: cp/repo.c $(CXX_TREE_H) $(TM_H) toplev.h $(DIAGNOSTIC_CORE_H) \
gt-cp-repo.h
cp/semantics.o: cp/semantics.c $(CXX_TREE_H) $(TM_H) toplev.h \
- $(FLAGS_H) output.h $(RTL_H) $(TIMEVAR_H) \
+ $(FLAGS_H) $(RTL_H) $(TIMEVAR_H) \
$(TREE_INLINE_H) $(CGRAPH_H) $(TARGET_H) $(C_COMMON_H) $(GIMPLE_H) \
bitmap.h gt-cp-semantics.h c-family/c-objc.h
cp/dump.o: cp/dump.c $(CXX_TREE_H) $(TM_H) $(TREE_DUMP_H)
diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c
index 14a6a40..81e9db0 100644
--- a/gcc/cp/decl.c
+++ b/gcc/cp/decl.c
@@ -39,7 +39,7 @@ along with GCC; see the file COPYING3. If not see
#include "tree-inline.h"
#include "decl.h"
#include "intl.h"
-#include "output.h"
+#include "output.h" /* for have_global_bss_p */
#include "toplev.h"
#include "hashtab.h"
#include "tm_p.h"
diff --git a/gcc/cp/decl2.c b/gcc/cp/decl2.c
index bf9ca33..78e17af 100644
--- a/gcc/cp/decl2.c
+++ b/gcc/cp/decl2.c
@@ -36,7 +36,6 @@ along with GCC; see the file COPYING3. If not see
#include "flags.h"
#include "cp-tree.h"
#include "decl.h"
-#include "output.h"
#include "toplev.h"
#include "timevar.h"
#include "cpplib.h"
diff --git a/gcc/cp/friend.c b/gcc/cp/friend.c
index 98cde9a..e68af3d 100644
--- a/gcc/cp/friend.c
+++ b/gcc/cp/friend.c
@@ -25,7 +25,6 @@ along with GCC; see the file COPYING3. If not see
#include "tree.h"
#include "cp-tree.h"
#include "flags.h"
-#include "output.h"
/* Friend data structures are described in cp-tree.h. */
diff --git a/gcc/cp/semantics.c b/gcc/cp/semantics.c
index 8fefce0..4334d4c 100644
--- a/gcc/cp/semantics.c
+++ b/gcc/cp/semantics.c
@@ -36,7 +36,6 @@ along with GCC; see the file COPYING3. If not see
#include "intl.h"
#include "toplev.h"
#include "flags.h"
-#include "output.h"
#include "timevar.h"
#include "diagnostic.h"
#include "cgraph.h"
diff --git a/gcc/cp/typeck.c b/gcc/cp/typeck.c
index 901b15f..bca676b 100644
--- a/gcc/cp/typeck.c
+++ b/gcc/cp/typeck.c
@@ -34,7 +34,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 "diagnostic.h"
#include "intl.h"
#include "target.h"
diff --git a/gcc/cp/typeck2.c b/gcc/cp/typeck2.c
index b953287..688dabc 100644
--- a/gcc/cp/typeck2.c
+++ b/gcc/cp/typeck2.c
@@ -36,7 +36,6 @@ along with GCC; see the file COPYING3. If not see
#include "intl.h"
#include "cp-tree.h"
#include "flags.h"
-#include "output.h"
#include "diagnostic-core.h"
static tree