diff --git a/src/stage1/codegen.cpp b/src/stage1/codegen.cpp index 700fc2af06095dacaaa0bffb3e01a17579c85cf2..697f002dfc16752a22558f4c2263617dbdb34467 100644 --- a/src/stage1/codegen.cpp +++ b/src/stage1/codegen.cpp @@ -5575,6 +5575,7 @@ static LLVMValueRef ir_render_asm_gen(CodeGen *g, Stage1Air *executable, Stage1A buf_appendf(&constraint_buf, "=%s", buf_ptr(asm_output->constraint) + 1); } else { buf_appendf(&constraint_buf, "=*%s", buf_ptr(asm_output->constraint) + 1); + param_needs_attr[param_index] = true; } if (total_index + 1 < total_constraint_count) { buf_append_char(&constraint_buf, ',');