https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116440
Patrick Palka <ppalka at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|ASSIGNED |RESOLVED --- Comment #9 from Patrick Palka <ppalka at gcc dot gnu.org> --- Fixed for GCC 14.3 and later. It should also work on Clang once they implement the same optimization (https://github.com/llvm/llvm-project/pull/136018).