https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102224
--- Comment #5 from Gabriel Ravier <gabravier at gmail dot com> --- Actually it seems to me like this is a GCC 9 regression, ever since this pattern exists: GCC 9, 10 and 11 emit the exact same faulty code.