ref: a564aad2414de7c381465fa9ced3dcf0f4f2a532
parent: c901f8723b03863440d63986bf14f442dd1244c7
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Sun Jan 24 13:37:58 EST 2016
[cc1] Emit type of constant in array sizes It makes the IR more regular.
--- a/cc1/code.c
+++ b/cc1/code.c
@@ -253,7 +253,7 @@
emitletter(tp);
putchar('\t');
emitletter(tp->type);
- printf("\t#%d\n", tp->n.elem);
+ printf("\t#%c%d\n", sizettype->letter, tp->n.elem);
return;
case PTR:
emittype(tp->type);