public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/46344] New: [OOP] ICE with allocatable CLASS components
@ 2010-11-07 12:55 janus at gcc dot gnu.org
  2010-11-07 12:58 ` [Bug fortran/46344] " janus at gcc dot gnu.org
                   ` (15 more replies)
  0 siblings, 16 replies; 17+ messages in thread
From: janus at gcc dot gnu.org @ 2010-11-07 12:55 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: [OOP] ICE with allocatable CLASS components
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: janus@gcc.gnu.org


Test case:


module mld_d_prec_type

  type mld_d_base_solver_type
  end type mld_d_base_solver_type

  type  mld_d_base_smoother_type
    class(mld_d_base_solver_type), allocatable :: sv
  end type mld_d_base_smoother_type

  type mld_donelev_type
    class(mld_d_base_smoother_type), allocatable :: sm
  end type mld_donelev_type

end module mld_d_prec_type

program ppde
  use mld_d_prec_type
  implicit none

  type(mld_donelev_type), allocatable :: precv(:) 

  allocate(precv(1))

end program ppde


This produces an ICE (segfault) with current trunk. Reported by Salvatore
Fillipone.


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

end of thread, other threads:[~2010-11-09 10:35 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-07 12:55 [Bug fortran/46344] New: [OOP] ICE with allocatable CLASS components janus at gcc dot gnu.org
2010-11-07 12:58 ` [Bug fortran/46344] " janus at gcc dot gnu.org
2010-11-07 13:05 ` [Bug fortran/46344] [4.6 Regression] " janus at gcc dot gnu.org
2010-11-07 13:08 ` burnus at gcc dot gnu.org
2010-11-07 13:16 ` janus at gcc dot gnu.org
2010-11-07 13:22 ` janus at gcc dot gnu.org
2010-11-07 13:39 ` dominiq at lps dot ens.fr
2010-11-07 14:58 ` sfilippone at uniroma2 dot it
2010-11-07 20:41 ` janus at gcc dot gnu.org
2010-11-07 21:12 ` janus at gcc dot gnu.org
2010-11-08  9:04 ` janus at gcc dot gnu.org
2010-11-08  9:21 ` janus at gcc dot gnu.org
2010-11-08 13:50 ` jakub at gcc dot gnu.org
2010-11-08 14:39 ` janus at gcc dot gnu.org
2010-11-08 22:43 ` janus at gcc dot gnu.org
2010-11-08 22:46 ` janus at gcc dot gnu.org
2010-11-09 10:35 ` janus at gcc dot gnu.org

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).