public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/44212]  New: [OOP] ICE when defining a pointer component before defining the class and calling a TBP then
@ 2010-05-20 13:54 boschmann at tp1 dot physik dot uni-siegen dot de
  2010-05-20 19:15 ` [Bug fortran/44212] " janus at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: boschmann at tp1 dot physik dot uni-siegen dot de @ 2010-05-20 13:54 UTC (permalink / raw)
  To: gcc-bugs

module ice_module

  type :: B_type
     class(A_type),pointer :: A_comp   ! A_type is not yet defined
  end type B_type

  type :: A_type
  contains
     procedure :: A_proc
  end type A_type

contains

  subroutine A_proc(this)
    class(A_type),target,intent(inout) :: this
  end subroutine A_proc

  subroutine ice_proc(this)
    class(A_type) :: this
    call this%A_proc()
  end subroutine ice_proc

end module ice_module

f951: interner Compiler-Fehler: in gfc_add_component_ref, bei
fortran/class.c:77

Sorry, the error is in german, but you will understand it :)


-- 
           Summary: [OOP] ICE when defining a pointer component before
                    defining the class and calling a TBP then
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: boschmann at tp1 dot physik dot uni-siegen dot de


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


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

end of thread, other threads:[~2010-05-22 19:31 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-05-20 13:54 [Bug fortran/44212] New: [OOP] ICE when defining a pointer component before defining the class and calling a TBP then boschmann at tp1 dot physik dot uni-siegen dot de
2010-05-20 19:15 ` [Bug fortran/44212] " janus at gcc dot gnu dot org
2010-05-20 20:14 ` janus at gcc dot gnu dot org
2010-05-21  6:22 ` dominiq at lps dot ens dot fr
2010-05-22 19:01 ` janus at gcc dot gnu dot org
2010-05-22 19:31 ` janus at gcc dot gnu dot 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).