commit 0e1ef503f2d2a13bdd07e6d5230d1a67f2a92b47
Author: Roberto E. Vargas Caballero <[email protected]>
AuthorDate: Fri Jan 8 13:08:13 2016 +0100
Commit: Roberto E. Vargas Caballero <[email protected]>
CommitDate: Fri Jan 8 13:08:13 2016 +0100
Fill sign and rank fileds for enum types
This information was lost but it is totally necessary
diff --git a/cc1/types.c b/cc1/types.c
index 2aeeded..2a36746 100644
--- 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: