shithub: scc

Download patch

ref: 0e1ef503f2d2a13bdd07e6d5230d1a67f2a92b47
parent: 54bc45420f91467c32d0cf539e11fae0ba0798f9
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Fri Jan 8 08:08:13 EST 2016

Fill sign and rank fileds for enum types

This information was lost but it is totally necessary

--- a/cc1/types.c
+++ b/cc1/types.c
@@ -474,6 +474,8 @@
 		type.printed = 1;
 		type.integer = 1;
 		type.arith = 1;
+		type.sign = 0;
+		type.n.rank = RANK_INT;
 		goto no_defined;
 	case STRUCT:
 	case UNION: