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/57305] [OOP] ICE when calling SIZEOF on an unlimited polymorphic variable


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.


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