https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102708
sandra at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sandra at gcc dot gnu.org --- Comment #2 from sandra at gcc dot gnu.org --- I fixed a lot of bugs with creating excessive temporaries for calls to bind(c) functions in my fix for PR 103390 (commit 6447f6f983ffeaecb8753ef685d702bf2594968b). I'm not sure if there is more to do there or not, but it seems unrelated to the original problem. If there's a bug, it ought to be in its own issue. IIUC what needs to be done for the original problem is fixing (all?) the calls to gfc_conv_subref_array_arg to pass the fsym and proc_name arguments.