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

--- Comment #22 from Ev Drikos <drikosev at gmail dot com> ---
Created attachment 49836
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49836&action=edit
module + driver


A slightly modified example gives me the impression
that some local objects that are class arrays share
the same Array Specification, even if they have been
declared in a different scope, even they have quite
different names and size. 

But they have been declared with an explicit shape
that turns to be common, perhaps accidentally. The
Array Specification is retrieved like that:

as = IS_CLASS_ARRAY (sym) ? CLASS_DATA (sym)->as : sym->as;


Ev. Drikos

Reply via email to