This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/64674] [OOP] ICE in ASSOCIATE with allocated class


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

janus at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2015-01-19
                 CC|                            |janus at gcc dot gnu.org
            Version|fortran-dev                 |5.0
            Summary|OOP Internal compiler error |[OOP] ICE in ASSOCIATE with
                   |in associate with allocated |allocated class
                   |class                       |
     Ever confirmed|0                           |1

--- Comment #1 from janus at gcc dot gnu.org ---
Confirmed. Slightly reduced test case:

  Type T
   integer :: map
  end Type T

  class(T), allocatable :: Cls(:)

  allocate(Cls(2))
  associate(CL => Cls(1))
      CL%map = 2
  end associate

end


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]