shithub: scc

Download patch

ref: 043884e700950348176a2b4b37263694415825e1
parent: bdb5cc4acaf939d777c68eb05ff62aa9c65ed045
author: Quentin Carbonneaux <[email protected]>
date: Fri Dec 9 12:05:24 EST 2016

[cc1] Output array sizes in hex

--- a/cc1/code.c
+++ b/cc1/code.c
@@ -252,7 +252,7 @@
 		emitletter(tp);
 		putchar('\t');
 		emitletter(tp->type);
-		printf("\t#%c%lld\n",
+		printf("\t#%c%llX\n",
 		       sizettype->letter, (long long) tp->n.elem);
 		return;
 	case PTR: