]> gcc.gnu.org Git - gcc.git/commit - gcc/c-decl.c
Makefile.in (C_AND_OBJC_OBJS): Add c-dump.o.
authorMark Mitchell <mark@codesourcery.com>
Fri, 10 Nov 2000 04:29:45 +0000 (04:29 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Fri, 10 Nov 2000 04:29:45 +0000 (04:29 +0000)
commit0a7394bc1ac70f2a16ee15731457af04fb0b6e48
tree6fdac42a5241d2f4e1527d266faf70cae27bb05d
parentabffe289db68ad3968cd592dc33a00500a07aaba
Makefile.in (C_AND_OBJC_OBJS): Add c-dump.o.

* Makefile.in (C_AND_OBJC_OBJS): Add c-dump.o.
(c-dump.o): New target.
* c-common.h (flag_dump_translation_unit): New variable.
(C_TYPE_QUALS): New macro.
(strip_array_types): New function.
(DECL_C_BIT_FIELD): New macro.
(SET_DECL_C_BIT_FIELD): Likewise.
(CLEAR_DECL_C_BIT_FIELD): Likewise.
(dump_info_p): New typedef.
(dump_tree_fn): Likewise.
(lang_dump_tree): New variable.
(dump_node_to_file): New function.
* c-common.c (flag_dump_translation_unit): Define it.
(strip_array_types): New function.
* c-decl.c (c_decode_option): Handle -fdump-translation-unit.
* c-lang.c (finish_file): Call dump_node_to_file if
flag_dump_translation_unit.
* c-semantics.c (mark_rtl_for_local_static): Fix typo in comment.
* c-tree.h (DECL_C_BIT_FIELD): Remove declaration.
* c-dump.c: New file.

* Make-lang.in (CXX_C_OBJS): Add c-dump.o.
(dump.o): Update dependency list.
* cp-tree.h (DECL_MAYBE_TEMPLATE): Remove.
(flag_dump_translation_unit): Likewise.
(CP_TYPE_QUALS): Adjust definition.
(DECL_C_BIT_FIELD): Remove.
(SET_DECL_C_BIT_FIELD): Likewise.
(CLEAR_DECL_C_BIT_FIELD): Likewise.
(add_maybe_template): Likewise.
(strip_array_types): Likewise.
(dump_node_to_file): Likewise.
(cp_dump_tree): New function.
* decl.c (init_decl_processing): Set lang_dump_tree.
* decl2.c (flag_dump_translation_unit): Remove.
* dump.c: Move most of it to ../c-dump.c.
(cp_dump_tree): New function.
* pt.c (add_maybe_template): Remove.
* typeck.c (strip_array_types): Likewise.

From-SVN: r37358
17 files changed:
gcc/ChangeLog
gcc/Makefile.in
gcc/c-common.c
gcc/c-common.h
gcc/c-decl.c
gcc/c-dump.c [new file with mode: 0644]
gcc/c-lang.c
gcc/c-semantics.c
gcc/c-tree.h
gcc/cp/ChangeLog
gcc/cp/Make-lang.in
gcc/cp/cp-tree.h
gcc/cp/decl.c
gcc/cp/decl2.c
gcc/cp/dump.c
gcc/cp/pt.c
gcc/cp/typeck.c
This page took 0.067759 seconds and 5 git commands to generate.