From 70bbc66382fadfcc4af5c2525f7b8423d360a5a8 Mon Sep 17 00:00:00 2001 From: Christoph Mallon Date: Thu, 11 Mar 2010 14:08:18 +0000 Subject: [PATCH] Correct false positives about variables used in out expressions using "=" of asm statements not being read. [r27288] --- parser.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/parser.c b/parser.c index 7becd99..cf9273e 100644 --- a/parser.c +++ b/parser.c @@ -9152,7 +9152,9 @@ static asm_argument_t *parse_asm_arguments(bool is_out) "asm output argument is not an lvalue"); } - if (argument->constraints.begin[0] == '+') + if (argument->constraints.begin[0] == '=') + determine_lhs_ent(expression, NULL); + else mark_vars_read(expression, NULL); } else { mark_vars_read(expression, NULL); -- 2.20.1