https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103699
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #11 from Jakub Jelinek <jakub at gcc dot gnu.org> --- -fsanitize=undefined isn't an TBAA sanitizer, it can't detect aliasing violations. As for constexpr, you'd have to show us what exactly you've tested. constexpr keyword on a function doesn't mean the function will be evaluated at compile time, that happens only if it is called in constant expression.