https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109729
Gaius Mulley <gaius at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gaius at gcc dot gnu.org --- Comment #2 from Gaius Mulley <gaius at gcc dot gnu.org> --- Created attachment 54995 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54995&action=edit Proposed fix Here is a proposed fix and new testsuite entry. It introduces a new quadruple used if the compiler needs to produce an arithmetic add rather than an add which might be overloaded. The FOR loop uses the arithmetic add to increment the iterator.