This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: Incorrect behavior when assigning pointer
Hi,
> thanks, I can confirm the ICE, and apparently it's even a regression.
> Here is a further cut-down version:
>
>
> program test
> implicit none
>
> type :: ncBhStd
> end type
>
> type :: tn
> class (ncBhStd), allocatable, dimension(:) :: cBh
> end type
>
> type(tn), target :: a
>
> select type (q => a%cBh(1))
> end select
>
> end
>
>
> I'll open a PR for it.
this is now PR 54990.
Cheers,
Janus