public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/18432] New: ICE on subcomponent arrays of derived types
@ 2004-11-11 19:07 mbkennel at gmail dot com
  2004-11-11 19:08 ` [Bug fortran/18432] " mbkennel at gmail dot com
  2004-11-11 19:11 ` pinskia at gcc dot gnu dot org
  0 siblings, 2 replies; 3+ messages in thread
From: mbkennel at gmail dot com @ 2004-11-11 19:07 UTC (permalink / raw)
  To: gcc-bugs

This may be related to 15181.  This is a non-functional excerpt from a medium
sized code which stresses f95 some f95 features.

gfortran --version
GNU Fortran 95 (GCC 4.0.0 20041111 (experimental))
x86 linux. 

module gfortran_bug1
  integer, parameter :: kdkind = kind(0.0d0)

  type interval
      real(kdkind) :: lower,upper
  end type interval

  type :: tree_node
      ! an internal tree node
      private
      integer :: cut_dim
      ! the dimension to cut
      real(kdkind) :: cut_val
      ! where to cut the dimension
      real(kdkind) :: cut_val_left, cut_val_right
      ! improved cutoffs knowing the spread in child boxes.
      integer :: l, u
      type (tree_node), pointer :: left, right
      type(interval), pointer :: box(:) => null()
      ! child pointers
      ! Points included in this node are indexes[k] with k \in [l,u]


  end type tree_node

contains

  function main result(res)
    type(tree_node), pointer :: res

    write (*,*) res%left%box(1)%upper
    return
  end function main


end module gfortran_bug1

-- 
           Summary: ICE on subcomponent arrays of derived types
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: mbkennel at gmail dot com
                CC: gcc-bugs at gcc dot gnu dot org


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


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

* [Bug fortran/18432] ICE on subcomponent arrays of derived types
  2004-11-11 19:07 [Bug fortran/18432] New: ICE on subcomponent arrays of derived types mbkennel at gmail dot com
@ 2004-11-11 19:08 ` mbkennel at gmail dot com
  2004-11-11 19:11 ` pinskia at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: mbkennel at gmail dot com @ 2004-11-11 19:08 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From mbkennel at gmail dot com  2004-11-11 19:08 -------
Created an attachment (id=7519)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7519&action=view)
ICE test case


-- 


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


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

* [Bug fortran/18432] ICE on subcomponent arrays of derived types
  2004-11-11 19:07 [Bug fortran/18432] New: ICE on subcomponent arrays of derived types mbkennel at gmail dot com
  2004-11-11 19:08 ` [Bug fortran/18432] " mbkennel at gmail dot com
@ 2004-11-11 19:11 ` pinskia at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-11-11 19:11 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-11-11 19:11 -------
Yes this is a dup of bug 15181.

*** This bug has been marked as a duplicate of 15181 ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE


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


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

end of thread, other threads:[~2004-11-11 19:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-11 19:07 [Bug fortran/18432] New: ICE on subcomponent arrays of derived types mbkennel at gmail dot com
2004-11-11 19:08 ` [Bug fortran/18432] " mbkennel at gmail dot com
2004-11-11 19:11 ` pinskia 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).