aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.c
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2011-06-07 14:37:39 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2011-06-07 14:37:39 +0000
commit67b884536dbfd3253b372b1a13a070f2fa7c704f (patch)
tree3fc8bfca836ae7a4a8df75d49259b2fc36a45527 /gcc/tree.c
parentc3c79fc5a5bf930ae6a2ee17b39d5214cbabe861 (diff)
downloadgcc-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.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/gcc/tree.c b/gcc/tree.c
index a2ea14c..21e7a2b 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