diff options
author | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-06-07 13:01:27 +0000 |
---|---|---|
committer | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-06-07 13:01:27 +0000 |
commit | 1af0124d4d6507b50437fb30c19b9d4aab6f3779 (patch) | |
tree | cbb46e504142fe46fdb3be5ff672c24a8d0d2cd1 /gcc/go/go-lang.c | |
parent | 0e9a4c0161a49fa966841cb4dcbfbc4f63eeb4bb (diff) | |
download | gcc-1af0124d4d6507b50437fb30c19b9d4aab6f3779.tar.gz |
2011-06-07 Richard Guenther <rguenther@suse.de>
* tree.c (build_common_tree_nodes): Also initialize size_type_node.
Call set_sizetype from here.
c-family/
* c-common.c (c_common_nodes_and_builtins): Do not set
size_type_node or call set_sizetype.
go/
* go-lang.c (go_langhook_init): Do not set
size_type_node or call set_sizetype.
fortran/
* f95-lang.c (gfc_init_decl_processing): Do not set
size_type_node or call set_sizetype.
java/
* decl.c (java_init_decl_processing): Properly initialize
size_type_node.
lto/
* lto-lang.c (lto_init): Do not set
size_type_node or call set_sizetype.
ada/
* gcc-interface/misc.c (gnat_init): Do not set
size_type_node or call set_sizetype.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@174743 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/go/go-lang.c')
-rw-r--r-- | gcc/go/go-lang.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/gcc/go/go-lang.c b/gcc/go/go-lang.c index 84c7f8d1591..4687c6e19ba 100644 --- a/gcc/go/go-lang.c +++ b/gcc/go/go-lang.c @@ -87,15 +87,6 @@ go_langhook_init (void) { build_common_tree_nodes (false); - /* The sizetype may be "unsigned long" or "unsigned long long". */ - if (TYPE_MODE (long_unsigned_type_node) == ptr_mode) - size_type_node = long_unsigned_type_node; - else if (TYPE_MODE (long_long_unsigned_type_node) == ptr_mode) - size_type_node = long_long_unsigned_type_node; - else - size_type_node = long_unsigned_type_node; - set_sizetype (size_type_node); - build_common_tree_nodes_2 (0); /* We must create the gogo IR after calling build_common_tree_nodes |