commit 821f4c28e2e9ae7404e87b9e04047b5273dfda1b
Author:     Roberto E. Vargas Caballero <k...@shike2.com>
AuthorDate: Wed Nov 30 14:11:48 2016 +0100
Commit:     Roberto E. Vargas Caballero <k...@shike2.com>
CommitDate: Wed Nov 30 14:11:48 2016 +0100

    [cc2] Fix the order of elements of decl
    
    The aligment and the size were reversed parsing
    the IR from cc1.

diff --git a/cc2/parser.c b/cc2/parser.c
index b9847eb..34921c3 100644
--- a/cc2/parser.c
+++ b/cc2/parser.c
@@ -500,8 +500,8 @@ aggregate(void)
        Type *tp;
        Symbol *sym;
 
-       align = pop();
        size = pop();
+       align = pop();
        name = pop();
        tp = pop();
 

Reply via email to