shithub: scc

Download patch

ref: 771e9d2c95cb83c6ee2c33e415da03b5b7b291a5
parent: 2ace59bf6ffed5fb58f370e0c2c068aa319fa6f4
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Thu Apr 21 13:16:42 EDT 2016

[cc2-qbe] Fix typo in variable name v2

Same error than the one fixed in 6ea8920

--- a/cc2/arch/qbe/cgen.c
+++ b/cc2/arch/qbe/cgen.c
@@ -267,6 +267,6 @@
 			np->complex = rp->complex;
 	}
 	if (np->complex == 0)
-		++rp->complex;
+		++np->complex;
 	return np;
 }