https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117033
--- Comment #6 from Davide Italiano <dccitaliano at gmail dot com> --- I noticed you linked the LLVM bug I found. As part of my search/analysis, I found out there are cases that sometimes clang gets but GCC doesn't (unsurprisingly, FWIW). Here's a simple one. https://godbolt.org/z/fjjzf9xds