This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/57305] [OOP] ICE when calling SIZEOF on an unlimited polymorphic variable
- 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: Wed, 21 Aug 2013 14:37:53 +0000
- Subject: [Bug fortran/57305] [OOP] ICE when calling SIZEOF on an unlimited polymorphic variable
- Auto-submitted: auto-generated
- References: <bug-57305-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57305
--- Comment #7 from janus at gcc dot gnu.org ---
Created attachment 30682
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30682&action=edit
patch
Here is a preliminary patch to make SIZEOF return the size of the dynamic type
for polymorphic variables, which at the same time fixes the ICE on CLASS(*)
variables.