aboutsummaryrefslogtreecommitdiff
path: root/gcc/go
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2012-11-06 18:46:38 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2012-11-06 18:46:38 +0000
commit8273ed8077dfb58c5df5b8a5e2f8b65fb52b56be (patch)
tree7d1aeb00c516c09100f51f0c73af4edac9b0c684 /gcc/go
parentfb3f38da2a7d45b88c838b3ac55fe40479961790 (diff)
downloadgcc-8273ed8077dfb58c5df5b8a5e2f8b65fb52b56be.zip
gcc-8273ed8077dfb58c5df5b8a5e2f8b65fb52b56be.tar.gz
gcc-8273ed8077dfb58c5df5b8a5e2f8b65fb52b56be.tar.bz2
compiler, runtime: Size of int is now 64 bits on x86_64.
From-SVN: r193255
Diffstat (limited to 'gcc/go')
-rw-r--r--gcc/go/gofrontend/gogo.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/go/gofrontend/gogo.cc b/gcc/go/gofrontend/gogo.cc
index 3455a91..5b56610 100644
--- a/gcc/go/gofrontend/gogo.cc
+++ b/gcc/go/gofrontend/gogo.cc
@@ -23,8 +23,7 @@
// Class Gogo.
-Gogo::Gogo(Backend* backend, Linemap* linemap, int int_type_size,
- int pointer_size)
+Gogo::Gogo(Backend* backend, Linemap* linemap, int, int pointer_size)
: backend_(backend),
linemap_(linemap),
package_(NULL),
@@ -83,6 +82,7 @@ Gogo::Gogo(Backend* backend, Linemap* linemap, int int_type_size,
this->add_named_type(Type::make_complex_type("complex128", 128,
RUNTIME_TYPE_KIND_COMPLEX128));
+ int int_type_size = pointer_size;
if (int_type_size < 32)
int_type_size = 32;
this->add_named_type(Type::make_integer_type("uint", true,