commit 18ce7bbbae125238fec1f2054a4afd8528f5a464
parent d9bc6862e85758294126d8110263115f259f88da
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date: Fri, 16 Dec 2016 13:22:45 +0100
[cc1-qbe] Make long double equal to double
Qbe does not support long doube at this moment, so the best option
is to emit DOUBLE for it. We will fix it later.
Diffstat:
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/cc1/arch/qbe/arch.c b/cc1/arch/qbe/arch.c
@@ -155,11 +155,11 @@ static Type types[] = {
},
{ /* 16 = ldoubletype */
.op = FLOAT,
- .letter = L_LDOUBLE,
+ .letter = L_DOUBLE,
.prop = TDEFINED | TARITH,
- .size = 16,
- .align = 16,
- .n.rank = RANK_LDOUBLE,
+ .size = 8,
+ .align = 8,
+ .n.rank = RANK_DOUBLE,
},
{ /* 17 = sizettype */
.op = INT,