https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66017
--- Comment #1 from M. Hanselmann <public at hansmi dot ch> --- Forgot to add that A. Bougacha has analyzed the issue. According to him it's a cast (or casts) invoking undefined behaviour. https://llvm.org/bugs/show_bug.cgi?id=23413#c2