use real (firm) output positions instead of C one (this fixes asm_test7.c
authorMatthias Braun <matze@braunis.de>
Sat, 13 Jun 2009 20:22:06 +0000 (20:22 +0000)
committerMatthias Braun <matze@braunis.de>
Sat, 13 Jun 2009 20:22:06 +0000 (20:22 +0000)
[r26137]

ast2firm.c

index 6cc0c22..a13d69d 100644 (file)
@@ -5255,7 +5255,7 @@ static void asm_statement_to_firm(const asm_statement_t *statement)
                                char     buf[64];
                                ir_node *value = get_value_from_lvalue(expr, addr);
 
-                               snprintf(buf, sizeof(buf), "%u", pos);
+                               snprintf(buf, sizeof(buf), "%u", out_size);
 
                                ir_asm_constraint constraint;
                                constraint.pos              = pos;