https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104684
anlauf at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |anlauf at gcc dot gnu.org
--- Comment #5 from anlauf at gcc dot gnu.org ---
(In reply to anlauf from comment #4)
> Replacing
>
> buffer%array => this%send_index
>
> by
>
> buffer%array => this%send_index(:)
>
> avoids the ICE.
but the semantically equivalent replacement reads:
buffer%array(lbound(this%send_index,1):) => this%send_index(:)
which also compiles.