public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/41600]  New: [OOP] SELECT TYPE with associate-name => exp: Arrays not supported
@ 2009-10-06  8:04 burnus at gcc dot gnu dot org
  2010-01-30 10:38 ` [Bug fortran/41600] " janus at gcc dot gnu dot org
  2010-04-18 16:24 ` dominiq at lps dot ens dot fr
  0 siblings, 2 replies; 13+ messages in thread
From: burnus at gcc dot gnu dot org @ 2009-10-06  8:04 UTC (permalink / raw)
  To: gcc-bugs

Assumes that patch http://gcc.gnu.org/ml/fortran/2009-10/msg00049.html is
already committed.

As written in http://gcc.gnu.org/ml/fortran/2009-10/msg00047.html, array valued
expressions do not work; presumably some other attributes need also to be
copied/honored. (cf. also PR 41599.)


implicit none
type t0
  integer :: j = 42
end type t0
type t
  integer :: i
  class(t0), allocatable :: foo(:)
end type t
type(t) :: m
allocate(t0 :: m%foo(3))
m%i = 5
select type(bar => m%foo)
type is(t0)
  print *, bar
end select
end


-- 
           Summary: [OOP] SELECT TYPE with associate-name => exp: Arrays not
                    supported
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Keywords: rejects-valid
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: burnus at gcc dot gnu dot org


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


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

end of thread, other threads:[~2012-05-05  8:55 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-41600-4@http.gcc.gnu.org/bugzilla/>
2012-01-21 20:23 ` [Bug fortran/41600] [OOP] SELECT TYPE with associate-name => exp: Arrays not supported burnus at gcc dot gnu.org
2012-01-22 15:26 ` mikael at gcc dot gnu.org
2012-01-22 16:49 ` tobi at gcc dot gnu.org
2012-01-25 10:39 ` burnus at gcc dot gnu.org
2012-01-28 15:59 ` dominiq at lps dot ens.fr
2012-01-29 21:43 ` burnus at gcc dot gnu.org
2012-01-29 21:43 ` burnus at gcc dot gnu.org
2012-03-05 14:04 ` pault at gcc dot gnu.org
2012-05-05  8:53 ` pault at gcc dot gnu.org
2012-05-05  8:54 ` pault at gcc dot gnu.org
2012-05-05  8:57 ` pault at gcc dot gnu.org
2009-10-06  8:04 [Bug fortran/41600] New: " burnus at gcc dot gnu dot org
2010-01-30 10:38 ` [Bug fortran/41600] " janus at gcc dot gnu dot org
2010-04-18 16:24 ` dominiq at lps dot ens dot 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).