simple C compiler
git clone git://
Log | Files | Refs | README | LICENSE

commit 9c68a8b2fe3756f5d9beed87ead96be63d0ab374
parent 5b8415def1c73c66509eb6ad3c0e5fa021cf6d19
Author: Roberto E. Vargas Caballero <Roberto E. Vargas Caballero>
Date:   Fri, 15 Apr 2016 14:42:39 +0200

[cc2-qbe] Fix OASSIG in cgen.c

The order of the lhs and rhs of the assignation was wrong

Mcc2/arch/qbe/cgen.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cc2/arch/qbe/cgen.c b/cc2/arch/qbe/cgen.c @@ -96,7 +96,7 @@ cgen(Node *np) case ODEC: abort(); case OASSIG: - code(op, l, l, r); + code(op, l, r, NULL); return r; case OCALL: case OFIELD: