public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/57965] New: Allocation of derived type containing an allocatable character component segfaults
@ 2013-07-24  9:01 ole.schuett at mat dot ethz.ch
  2013-07-24 23:00 ` [Bug fortran/57965] " burnus at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: ole.schuett at mat dot ethz.ch @ 2013-07-24  9:01 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57965

            Bug ID: 57965
           Summary: Allocation of derived type containing an allocatable
                    character component segfaults
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ole.schuett at mat dot ethz.ch

The following program compiles fine with gfortran 4.7.2, but when executed it
segfaults.

program crash
 TYPE mytype
   CHARACTER(LEN=42), ALLOCATABLE     :: str_value
 END TYPE mytype
 TYPE(mytype), POINTER :: a => Null()
 ALLOCATE(a)
end program crash


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-04-17 12:34 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-24  9:01 [Bug fortran/57965] New: Allocation of derived type containing an allocatable character component segfaults ole.schuett at mat dot ethz.ch
2013-07-24 23:00 ` [Bug fortran/57965] " burnus at gcc dot gnu.org
2014-01-07  9:50 ` dominiq at lps dot ens.fr
2014-01-10 14:10 ` janus at gcc dot gnu.org
2015-04-17 12:34 ` [Bug fortran/57965] [F03] " dominiq at lps dot ens.fr

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).