tree.h (boolean_type_node): Move from C/C++/Java frontends.
authorJason Merrill <jason@redhat.com>
Thu, 24 Jul 2003 20:48:13 +0000 (16:48 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 24 Jul 2003 20:48:13 +0000 (16:48 -0400)
commitde7df9ebdc66ea3a978327f5a039d939a9523a72
treed426fb98d29071f56b15614831aba8bebbb69f6c
parent6907ddd3babc97c39c88ef55b7d8da4f5d439d56
tree.h (boolean_type_node): Move from C/C++/Java frontends.

        * tree.h (boolean_type_node): Move from C/C++/Java frontends.
        (boolean_true_node, boolean_false_node): Likewise.
        (enum tree_index): Add TI_BOOLEAN_{TYPE,FALSE,TRUE}.
        * tree.c (build_common_tree_nodes): Init boolean_type_node.
        (build_common_tree_nodes_2): Init boolean_{true,false}_node.
        * stor-layout.c (set_sizetype): Handle an early BOOLEAN_TYPE.
        * c-common.h (truthvalue_type_node): Renamed from boolean_type_node.
        (truthvalue_true_node): Renamed from boolean_true_node.
        (truthvalue_false_node): Renamed from boolean_false_node.
        * c-decl.c: Just set truthvalue_* to integer_*.
        * c-*.[ch]: s/boolean/truthvalue/.  s/c_bool/boolean/.
        * cp/decl.c: Just set truthvalue_* to boolean_*.
        * java/java-tree.h: Move boolean_type_node et al to the back end.

From-SVN: r69758
13 files changed:
gcc/ChangeLog
gcc/c-common.c
gcc/c-common.h
gcc/c-decl.c
gcc/c-parse.in
gcc/c-semantics.c
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/java/ChangeLog
gcc/java/java-tree.h
gcc/stor-layout.c
gcc/tree.c
gcc/tree.h