https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117904
--- Comment #3 from Gaius Mulley <gaius at gcc dot gnu.org> --- Created attachment 59780 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59780&action=edit Proposed fix Proposed fix which converts the increment into the same type as the start, end expression type of a for loop.