aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-lang.c
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2002-07-26 09:45:38 -0400
committerJason Merrill <jason@gcc.gnu.org>2002-07-26 09:45:38 -0400
commit558ee214f31ef39421944b6c78cf3218b61c1337 (patch)
tree10eb7f55dc83c7ac766387eb09cd9cafc6a0cd4c /gcc/c-lang.c
parentd0a5af59f4a0301a8a9f7a107952e6c6c3529c9d (diff)
downloadgcc-558ee214f31ef39421944b6c78cf3218b61c1337.zip
gcc-558ee214f31ef39421944b6c78cf3218b61c1337.tar.gz
gcc-558ee214f31ef39421944b6c78cf3218b61c1337.tar.bz2
c-dump.c: Resurrect.
* c-dump.c: Resurrect. * tree-dump.c: Move C-specific stuff to c-dump.c. * c-common.h: Declare c_dump_tree. * c-lang.c (LANG_HOOKS_TREE_DUMP_DUMP_TREE_FN): Define. * Makefile.in (C_AND_OBJC_OBJS): Add c-dump.o. (c-dump.o): New rule. cp/ * dump.c (cp_dump_tree): Call c_dump_tree. * Make-lang.in (CXX_C_OBJS): Add c-dump.o. From-SVN: r55776
Diffstat (limited to 'gcc/c-lang.c')
-rw-r--r--gcc/c-lang.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/c-lang.c b/gcc/c-lang.c
index 60588fb..346e2aa 100644
--- a/gcc/c-lang.c
+++ b/gcc/c-lang.c
@@ -95,6 +95,8 @@ static void c_init_options PARAMS ((void));
#undef LANG_HOOKS_TREE_INLINING_CONVERT_PARM_FOR_INLINING
#define LANG_HOOKS_TREE_INLINING_CONVERT_PARM_FOR_INLINING \
c_convert_parm_for_inlining
+#undef LANG_HOOKS_TREE_DUMP_DUMP_TREE_FN
+#define LANG_HOOKS_TREE_DUMP_DUMP_TREE_FN c_dump_tree
#undef LANG_HOOKS_TYPE_FOR_MODE
#define LANG_HOOKS_TYPE_FOR_MODE c_common_type_for_mode