ref: 3d32bf03a7837cf015d44f85383a240a79c3d264
parent: 5be74533f06c1f6ba0f8728fb8aa43b812776d73
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Thu Jun 23 05:15:01 EDT 2016
[cc1] Fix size of pointers in 64 bit architectures The size of pointers was 2 bytes instead of being 8 bytes.
--- a/cc1/arch/amd64-sysv/arch.c
+++ b/cc1/arch/amd64-sysv/arch.c
@@ -23,8 +23,8 @@
.op = PTR,
.letter = L_POINTER,
.prop = TPRINTED | TDEFINED,
- .size = 2,
- .align = 2,
+ .size = 8,
+ .align = 8,
},
{ /* 2 = booltype */
.op = INT,
--- a/cc1/arch/qbe/arch.c
+++ b/cc1/arch/qbe/arch.c
@@ -23,8 +23,8 @@
.op = PTR,
.letter = L_POINTER,
.prop = TDEFINED | TPRINTED,
- .size = 2,
- .align = 2,
+ .size = 8,
+ .align = 8,
},
{ /* 2 = booltype */
.op = INT,