public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/65397] New: [Coarrays][OOP] ICE in resolve_ordinary_assign
@ 2015-03-12 11:11 burnus at gcc dot gnu.org
  2015-03-12 11:11 ` [Bug fortran/65397] " burnus at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: burnus at gcc dot gnu.org @ 2015-03-12 11:11 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65397

            Bug ID: 65397
           Summary: [Coarrays][OOP] ICE in resolve_ordinary_assign
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: burnus at gcc dot gnu.org

The following valid program ICEs with -fcoarray=lib in resolve_ordinary_assign.

subroutine five
implicit none
type t
  integer, pointer :: a
  integer :: b
end type t
type t2
  class(t), allocatable :: caf2[:]
end type t2
class(t), save, allocatable :: caf[:]
type(t) :: x
type(t2) :: y

x = caf[4]     ! <<<< ICE
x = y%caf2[5]  ! <<<< ICE
end subroutine five


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

end of thread, other threads:[~2015-03-13 14:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-12 11:11 [Bug fortran/65397] New: [Coarrays][OOP] ICE in resolve_ordinary_assign burnus at gcc dot gnu.org
2015-03-12 11:11 ` [Bug fortran/65397] " burnus at gcc dot gnu.org
2015-03-12 11:11 ` burnus at gcc dot gnu.org
2015-03-13 14:26 ` 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).