cproc

Unnamed repository; edit this file 'description' to name the repository.
git clone git://git.nihaljere.xyz/cproc
Log | Files | Refs | Submodules | README | LICENSE

commit 543d67d29296d7c1fab54292ade3a4d73ebac775
parent 0fdbe052dcf45546e1b78b731ba2529c2b655396
Author: Michael Forney <mforney@mforney.org>
Date:   Fri, 15 Mar 2019 13:05:01 -0700

__builtin_constant_p doesn't need to consider address constants

Diffstat:
Mexpr.c | 1-
1 file changed, 0 insertions(+), 1 deletion(-)

diff --git 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: