https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126940
Mikael Morin <mikael at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mikael at gcc dot gnu.org
--- Comment #5 from Mikael Morin <mikael at gcc dot gnu.org> ---
(In reply to Tobias Burnus from comment #3)
> Second: I have to admit that I do not understand why the contiguous check is
> only now active - and not before? Or was it - but some additional check
> causes this (like an elem_len != 0 check?)
>
We used to pack-in/unpack-out assumed-shape target arguments before the
regressing patch. That was wrong because the argument may have pointers
associated with it on entry, and pointers may be newly associated with it
during procedure execution.