https://gcc.gnu.org/bugzilla/show_bug.cgi?id=14505
Alex Rosenberg <alexr at leftfield dot org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |ASSIGNED Resolution|WONTFIX |--- --- Comment #4 from Alex Rosenberg <alexr at leftfield dot org> --- In the new world where C++ constexpr can do this kind of thing, I wonder if this definition for __builtin_constant_p() is still desirable. (This bug hasn't been updated in a decade because I was busy working on LLVM instead.) Since Clang tries for reasonable compatibility with GCC language extensions like this, having a more rational definition of __builtin_constant_p() going forward would be desirable for both compilers.