commit 0e1ef503f2d2a13bdd07e6d5230d1a67f2a92b47
parent 54bc45420f91467c32d0cf539e11fae0ba0798f9
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date: Fri, 8 Jan 2016 13:08:13 +0100
Fill sign and rank fileds for enum types
This information was lost but it is totally necessary
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/cc1/types.c b/cc1/types.c
@@ -474,6 +474,8 @@ mktype(Type *tp, int op, TINT nelem, Type *pars[])
type.printed = 1;
type.integer = 1;
type.arith = 1;
+ type.sign = 0;
+ type.n.rank = RANK_INT;
goto no_defined;
case STRUCT:
case UNION: