diff options
author | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-06-07 14:37:39 +0000 |
---|---|---|
committer | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-06-07 14:37:39 +0000 |
commit | 7907db976c163880407d56c32bba2ff84ccf1f57 (patch) | |
tree | 3fc8bfca836ae7a4a8df75d49259b2fc36a45527 /gcc/tree.c | |
parent | 35c2230f18cf105ad0a8fb3d7345322c6ebe12de (diff) | |
download | gcc-7907db976c163880407d56c32bba2ff84ccf1f57.tar.gz |
2011-06-07 Richard Guenther <rguenther@suse.de>
* stor-layout.c (initialize_sizetypes): Initialize all
sizetypes based on target definitions.
(set_sizetype): Remove.
* tree.c (build_common_tree_nodes): Do not call set_sizetype.
* tree.h (set_sizetype): Remove.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@174748 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree.c')
-rw-r--r-- | gcc/tree.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gcc/tree.c b/gcc/tree.c index a2ea14c82ac..21e7a2bced1 100644 --- a/gcc/tree.c +++ b/gcc/tree.c @@ -9098,8 +9098,7 @@ make_or_reuse_accum_type (unsigned size, int unsignedp, int satp) } /* Create nodes for all integer types (and error_mark_node) using the sizes - of C datatypes. The caller should call set_sizetype soon after calling - this function to select one of the types as sizetype. */ + of C datatypes. */ void build_common_tree_nodes (bool signed_char) @@ -9161,7 +9160,6 @@ build_common_tree_nodes (bool signed_char) size_type_node = long_long_unsigned_type_node; else gcc_unreachable (); - set_sizetype (size_type_node); /* Fill in the rest of the sized types. Reuse existing type nodes when possible. */ @@ -9182,7 +9180,7 @@ build_common_tree_nodes (bool signed_char) access_private_node = get_identifier ("private"); } -/* Call this function after calling build_common_tree_nodes and set_sizetype. +/* Call this function after calling build_common_tree_nodes. It will create several other common tree nodes. */ void |