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

--- Comment #6 from Mikael Morin <mikael at gcc dot gnu.org> ---
(In reply to Dominique d'Humieres from comment #1)
> Likely r190641.

Yes


(In reply to Mikael Morin from comment #2)
> gfc_trans_pointer_assignment sets lse.descriptor_only before calling
> gfc_conv_expr_descriptor (for the lhs),  and later on reuses lse for other
> things, without clearing descriptor_only.

Before r190641, gfc_conv_descriptor was not honoring lse.descriptor_only.
See https://gcc.gnu.org/ml/fortran/2012-08/msg00146.html

Reply via email to