From 543d67d29296d7c1fab54292ade3a4d73ebac775 Mon Sep 17 00:00:00 2001 From: Michael Forney Date: Fri, 15 Mar 2019 13:05:01 -0700 Subject: __builtin_constant_p doesn't need to consider address constants --- expr.c | 1 - 1 file changed, 1 deletion(-) diff --git a/expr.c b/expr.c index 8b3df82..d30669c 100644 --- a/expr.c +++ b/expr.c @@ -416,7 +416,6 @@ builtinfunc(struct scope *s, enum builtinkind kind) e->builtin.arg = exprconvert(assignexpr(s), &typeulong); break; case BUILTINCONSTANTP: - /* XXX: does this need to consider address constants? */ e = mkconstexpr(&typeint, eval(condexpr(s))->kind == EXPRCONST); break; case BUILTININFF: -- cgit v1.2.3