https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96102
Paul Thomas <pault at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pault at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |pault at gcc dot gnu.org --- Comment #3 from Paul Thomas <pault at gcc dot gnu.org> --- Created attachment 48983 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48983&action=edit Proposed patch for the PR Steve's proposed patch caused regressions in host_assoc_function_[1,2].f90. This one regtests OK. I don't know if the gcc_assert needs to be retained or not. I will go through all the possible cases that can arrive here. If the only one is caught by the condition above, then the assert can go as can the second and third lines in the condition. Paul