Commit 1500e59d authored by Christoph Mallon's avatar Christoph Mallon
Browse files

ia32: Prevent out-of-bounds access after calling emit_asm_operand().

parent 82eea1b6
......@@ -1009,7 +1009,8 @@ static const char* emit_asm_operand(const ir_node *node, const char *s)
case 0:
ir_fprintf(stderr, "Warning: asm text (%+F) ends with %%\n", node);
return s + 1;
return s;
case '%':
return s + 1;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment