https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118874
--- Comment #2 from Rainer Orth <ro at gcc dot gnu.org> --- Created attachment 60583 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60583&action=edit 64-bit sparc-sun-solaris2.11 range-for2.ii It still did yesterday night as of commit 5806279610783805286ebcd0af3b455602a3a8f9. Can be reproduced with $ cc1plus -fpreprocessed ./range-for2.ii -mptr64 -mstack-bias -mno-v8plus -quiet -m64 -mcpu=v9 -O2 -std=c++23 -o ./range-for2.s