[Bug fortran/61138] [4.8/4.9/5 Regression] Wrong code with pointer-bounds remapping

mikael at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Feb 6 21:00:00 GMT 2015


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



More information about the Gcc-bugs mailing list