public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/36366]  New: [4.3/4.4 Regression] ICE in gfc_conv_component_ref
@ 2008-05-29 11:08 jakub at gcc dot gnu dot org
  2008-05-29 12:06 ` [Bug fortran/36366] " burnus at gcc dot gnu dot org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: jakub at gcc dot gnu dot org @ 2008-05-29 11:08 UTC (permalink / raw)
  To: gcc-bugs

MODULE types
      IMPLICIT NONE
      TYPE :: inner
        INTEGER, POINTER :: i(:)
      END TYPE inner

      TYPE :: outer
        TYPE(inner), POINTER :: inr(:)
      END TYPE outer
    END MODULE types

    MODULE mymod
      IMPLICIT NONE
    CONTAINS
      FUNCTION test1()
        USE types
        IMPLICIT NONE
        TYPE(outer), POINTER :: test1
        NULLIFY(test1)
      END FUNCTION test1
    END MODULE mymod

    MODULE test
      IMPLICIT NONE
    CONTAINS

      SUBROUTINE test2(a)
        USE mymod
        USE types
        IMPLICIT NONE
        TYPE(outer), INTENT(INOUT) :: a
        INTEGER :: i
        i = a%inr(1)%i(1)
      END SUBROUTINE test2

      SUBROUTINE test3(a)
        USE types
        IMPLICIT NONE
        TYPE(outer), INTENT(IN) :: a
      END SUBROUTINE test3
    END MODULE test

ICEs in gfc_conv_component_ref since 4.3 - backend_decl is NULL.


-- 
           Summary: [4.3/4.4 Regression] ICE in gfc_conv_component_ref
           Product: gcc
           Version: 4.3.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jakub at gcc dot gnu dot org


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


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

end of thread, other threads:[~2008-07-19 18:37 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-29 11:08 [Bug fortran/36366] New: [4.3/4.4 Regression] ICE in gfc_conv_component_ref jakub at gcc dot gnu dot org
2008-05-29 12:06 ` [Bug fortran/36366] " burnus at gcc dot gnu dot org
2008-06-04 21:16 ` pault at gcc dot gnu dot org
2008-06-05 19:46 ` pault at gcc dot gnu dot org
2008-06-07  9:06 ` pault at gcc dot gnu dot org
2008-06-17 18:09 ` pault at gcc dot gnu dot org
2008-07-19 18:35 ` [Bug fortran/36366] [4.3 " burnus at gcc dot gnu dot org
2008-07-19 18:37 ` burnus 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).