https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78221
--- Comment #9 from Thomas Koenig <tkoenig at gcc dot gnu.org> --- Conversion is done during the matching phase, so this is when we warn. The problem here, as with PR 67219, was that these warning may be issued, and then the statement may be rejected. If that happens, we should throw away the warning. By using gfc_warning instead of gfc_warning_now, the warning is first queued. In this case, after matching the real part, a comma is expected. When this is not encountered, the warning is cleared, and the attempt at maching is finished. This part was already installed as part of the fix for PR 67219.