From: Christoph Mallon Date: Sun, 14 Sep 2008 12:00:20 +0000 (+0000) Subject: The result of a select expression is never a constant pointer (rather address), but... X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=db1fc03b71649aa3543de7d9939241d0f46db567;p=cparser The result of a select expression is never a constant pointer (rather address), but always an object (it could be a object with pointer type, but this is still an object, not an addresss). [r21938] --- diff --git a/ast.c b/ast.c index da87b55..8452b12 100644 --- a/ast.c +++ b/ast.c @@ -1663,8 +1663,6 @@ static bool is_constant_pointer(const expression_t *expression) return true; switch (expression->kind) { - case EXPR_SELECT: - return is_constant_pointer(expression->select.compound); case EXPR_UNARY_CAST: return is_constant_pointer(expression->unary.value); default: