https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97934
Fedor Chelnokov <fchelnokov at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |fchelnokov at gmail dot com
--- Comment #3 from Fedor Chelnokov <fchelnokov at gmail dot com> ---
I believe, GCC is correct here as well as other compilers:
https://gcc.godbolt.org/z/4nrdedbGd
