This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/61261] [OOP] Segfault on source-allocating polymorphic variables
- From: "dominiq at lps dot ens.fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 21 May 2014 08:50:25 +0000
- Subject: [Bug fortran/61261] [OOP] Segfault on source-allocating polymorphic variables
- Auto-submitted: auto-generated
- References: <bug-61261-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61261
Dominique d'Humieres <dominiq at lps dot ens.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2014-05-21
CC| |janus at gcc dot gnu.org
Ever confirmed|0 |1
--- Comment #4 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Slightly reduced test
MODULE modu
IMPLICIT NONE
TYPE element
CLASS(*), ALLOCATABLE :: e
END TYPE element
END MODULE modu
PROGRAM x
USE modu
IMPLICIT NONE
CHARACTER(LEN=80), TARGET :: c80
CLASS(*), POINTER :: p
TYPE(element) :: el
c80 = 'the quick brown fox jumps over the lazy dog'
p => c80
ALLOCATE(el%e, SOURCE = p)
END PROGRAM x
Could be related to pr51864(?).