[Bug fortran/60357] [F08] structure constructor with unspecified values for allocatable components
janus at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Dec 23 23:46:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60357
--- Comment #6 from janus at gcc dot gnu.org ---
(In reply to Dominique d'Humieres from comment #4)
> program testerprog
> use testmod
> Type(A) :: Me
> allocate(Me%y)
> Me = A(X=1, y=2)
> print *, Me%y
>
> end program
>
> gives
>
> Program received signal SIGSEGV: Segmentation fault - invalid memory
> reference.
Confirmed. However, this segfault is not related to the original bug (nor to
the patch I posted). It's a separate issue.
More information about the Gcc-bugs
mailing list