[patch,gfortran] PR 24426: initialization of component pointers
Paul Thomas
paulthomas2@wanadoo.fr
Fri Oct 21 16:53:00 GMT 2005
Erik
The patch is OK.
>! {dg-do compile }
>! PR 24426
>! Pointer-components of derived type with initialized components
>module crash
> implicit none
> type foo
> integer :: i = 0
> type (foo), pointer :: next
> end type foo
> type (foo) :: bar
>end module crash
>
>
On tests like this that check front-end patches, I have started adding {
dg-options "-O0" } to stop dejagnu repeating the same thing 8 times.
Am I right in thinking that this is enough? If so, I would recommend
that you do the same.
Paul
More information about the Fortran
mailing list