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

Harald Anlauf <anlauf at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |anlauf at gcc dot gnu.org

--- Comment #3 from Harald Anlauf <anlauf at gcc dot gnu.org> ---
(In reply to Mikael Morin from comment #2)
> Bisects to r17-3342-gf3943597388db4 as first bad commit:
> 
>     commit f3943597388db4846386b6d5a18d33ebf80ea96c
>     Author: Jerry DeLisle <[email protected]>
>     Date:   Mon Aug 10 09:37:01 2026 -0700
> 
>       fortran: [PR53800] Wrong copy-in/out with array actual to TARGET dummy
> 
> Not clear why it causes the failure.

Could it be that gfc_conv_is_contiguous_expr sets

  argse.data_not_needed = 1;
  gfc_conv_expr_descriptor (&argse, arg);

In principle the TARGET attribute then should not make a difference.

Reply via email to