shithub: scc

Download patch

ref: 28cca8469d717f90b81f429721c99997358d6a4c
parent: 9c5dd37cc16d348c4548da6bc0d83393a2e14e77
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Wed Nov 30 09:11:48 EST 2016

[cc2] Fix the order of elements of decl

The aligment and the size were reversed parsing
the IR from cc1.

--- a/cc2/parser.c
+++ b/cc2/parser.c
@@ -500,8 +500,8 @@
 	Type *tp;
 	Symbol *sym;
 
-	align = pop();
 	size = pop();
+	align = pop();
 	name = pop();
 	tp = pop();