https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125998

--- Comment #12 from Mikael Morin <mikael at gcc dot gnu.org> ---
(In reply to Harald Anlauf from comment #11)
> But we do want a temporary here, don't we?
Sure, but both branches create a temporary (through gfc_conv_subref_array_arg
and gfc_conv_array_parameter) as far as I know.  And both should work
correctly.

Reply via email to