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

--- Comment #21 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
(In reply to Thomas Koenig from comment #19)
> Comment on attachment 44718 [details]
> Affected module and example main program
> 
> The only way at the moment would be to change
> 
> program testprog
> 
>   use testmodule
> 
>   type(instlist_type),target    :: instlist
>  
>   instlist%min_tstart = 42
>   instlist%max_tstop = 101
> 
>   print *, "Hello world"
>   
> end program testprog
> 
> into
> 
> program testprog
> 
>   use testmodule
> 
>   type(instlist_type),target, allocatable    :: instlist
>  
>   allocate (instlist)
>   instlist%min_tstart = 42
>   instlist%max_tstop = 101
> 
>   print *, "Hello world"
>   
> end program testprog
> 
> if instlist is large enough, possibly in a front-end pass.

Actually no, this change does not work.

Reply via email to