tbaederr wrote: It looks like this is similar to `__builtin_constant_p` - what is the proposed behavior wrt. side effects in the evaluated expression? gcc and clang disagree about this a lot currently: https://godbolt.org/z/rbneznT9z https://github.com/llvm/llvm-project/pull/132524