shithub: scc

Download patch

ref: d9761479797a5050a523ab97e887de5fb7a2344a
parent: bc58494b6814e9a55b69d8998dcb7fafabccc025
author: Roberto E. Vargas Caballero <[email protected]>
date: Sat Feb 18 02:48:27 EST 2017

[cc1] Remove old time bits from types

This short type there wass from ancient times when the types
were used in a different way.

--- a/cc1/decl.c
+++ b/cc1/decl.c
@@ -761,7 +761,7 @@
 	if (sym == NULL) {
 		sym = redcl(dcl->sym, tp, dcl->pars, sclass);
 	} else {
-		short flags = sym->flags;
+		int flags = sym->flags;
 
 		sym->type = tp;
 		sym->u.pars = dcl->pars;