https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118491
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> --- (In reply to Richard Biener from comment #3) > So it's technically not a regression if GCC 14 didn't implement C++23 [range > for] changes. It is technically still a regression, range for loops written in the pre-P2718R0 era better shouldn't rely on the lifetime of temporaries being extended and they could have worked fine in coroutines.