This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]