https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102973
Andre Vehreschild <vehre at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|unassigned at gcc dot gnu.org |vehre at gcc dot gnu.org CC| |vehre at gcc dot gnu.org --- Comment #3 from Andre Vehreschild <vehre at gcc dot gnu.org> --- Patch proposed at: https://gcc.gnu.org/pipermail/fortran/2024-August/060820.html I see less harm in resetting the flag in the error case than not to. So the patch does just that. Waiting for review.