https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111055
--- Comment #23 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to 康桓瑋 from comment #21) > FYI: > https://stackoverflow.com/questions/79261063/in-what-situations-does- > rangesfor-each-work-but-for-auto-elt-rg-fail/79262269#79262269 Yes, like that. It deserves to break.