https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93666
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Walt Karas from comment #0) > My understanding is that constexpr should not be used as a "register-esque" > hint to decide whether or not to optimize. 'constexpr' implies 'inline' which is used as a hint for inlining by GCC (although in this case the function is implicitly inline anyway, so that shouldn't matter).