https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108094

--- Comment #3 from Martin Liška <marxin at gcc dot gnu.org> ---
The compiler optimizes it out as it's UBSAN and provides you a reasonable
warning.

Reply via email to