https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113565
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |enhancement --- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> --- I'm not sure it's reasonable to expect an error here. The C++ standard says nothing about whether __builtin_clz is a constant expression, obviously. So I'm changing this to severity=enhancement.