This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/64674] [OOP] ICE in ASSOCIATE with allocated class
- From: "janus at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 19 Jan 2015 22:06:09 +0000
- Subject: [Bug fortran/64674] [OOP] ICE in ASSOCIATE with allocated class
- Auto-submitted: auto-generated
- References: <bug-64674-4 at http dot gcc dot gnu dot org/bugzilla/>
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