This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/60357] [F08] structure constructor with unspecified values for allocatable components
- From: "janus at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 23 Dec 2014 23:46:40 +0000
- Subject: [Bug fortran/60357] [F08] structure constructor with unspecified values for allocatable components
- Auto-submitted: auto-generated
- References: <bug-60357-4 at http dot gcc dot gnu dot org/bugzilla/>
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.