This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC 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]

[Bug fortran/60357] [F08] structure constructor with unspecified values for allocatable components


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.


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