https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109728
--- Comment #2 from Fabio Alemagna <falemagn at gmail dot com> --- Yes, clang handles this case correctly.
falemagn at gmail dot com via Gcc-bugs Thu, 04 May 2023 22:30:40 -0700
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109728
--- Comment #2 from Fabio Alemagna <falemagn at gmail dot com> --- Yes, clang handles this case correctly.