https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120606
--- Comment #3 from Gaius Mulley <gaius at gcc dot gnu.org> --- Created attachment 61607 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61607&action=edit Proposed fix which dereferences any Lvalue for start and end expression of a for loop The above patch fixes the reported bug, it is now undergoing a full bootstrap test.