ref: 80dbb718f4f48ce7741624c0862fac5cc0de40c5
parent: f6ee7ffbe56651728f55cd3eb2dac8552f657580
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Tue Jun 14 14:03:30 EDT 2016
[cc2-qbe] Fix merging of labels We were copying the id in id and numid fields of the merged label.
--- a/cc2/arch/qbe/optm.c
+++ b/cc2/arch/qbe/optm.c
@@ -33,7 +33,7 @@
sym = np->u.sym;
osym = next->u.sym;
osym->id = sym->id;
- osym->numid = sym->id;
+ osym->numid = sym->numid;
osym->u.stmt = sym->u.stmt;
return NULL;
}