diff options
author | Richard Guenther <rguenther@suse.de> | 2011-06-07 14:37:39 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2011-06-07 14:37:39 +0000 |
commit | 67b884536dbfd3253b372b1a13a070f2fa7c704f (patch) | |
tree | 3fc8bfca836ae7a4a8df75d49259b2fc36a45527 /gcc/tree.c | |
parent | c3c79fc5a5bf930ae6a2ee17b39d5214cbabe861 (diff) | |
download | gcc-67b884536dbfd3253b372b1a13a070f2fa7c704f.zip gcc-67b884536dbfd3253b372b1a13a070f2fa7c704f.tar.gz gcc-67b884536dbfd3253b372b1a13a070f2fa7c704f.tar.bz2 |
stor-layout.c (initialize_sizetypes): Initialize all sizetypes based on target definitions.
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.
From-SVN: r174748
Diffstat (limited to 'gcc/tree.c')
-rw-r--r-- | gcc/tree.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -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 |