https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96270
Mikael Pettersson <mikpelinux at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mikpelinux at gmail dot com
--- Comment #1 from Mikael Pettersson <mikpelinux at gmail dot com> ---
I can reproduce on x86_64 with gcc-7/8/9/10/11 -Os -m32, disappears with -O2.
gcc-11 -fsanitize=undefined gives no diagnostic and also masks the error.
gcc-6 and older work (tested back to 4.1.2). I cannot reproduce on powerpc64
or m68k.