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: "dominiq at lps dot ens.fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 15 Mar 2014 20:16:58 +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 #12 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> TODO: A proper treatment of array arguments seems to be missing for both SIZEOF
> and STORAGE_SIZE.
??? besides
if (sizeof(b) /= 24) call abort()
if (storage_size(b) /= 64) call abort()
> Question is whether the patch should be applied now and the array treatment
> added later, or if it should happen in one go.
Unless the patch remove the ICE by silent wrong codes, I'ld say incremental fix
is not bad.