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

--- Comment #7 from anlauf at gcc dot gnu.org ---
(In reply to Jakub Jelinek from comment #6)
> Seems it changed with r12-3129-gf95946afd160e2a1f4beac4ee5e6d5633307f39a

Looking at the tree dump, it appears that there is a latent issue.


void MAIN__ ()
{
  real(kind=4) a[16776325];


However, that standard says:

F2018  8.5.16  SAVE attribute

(4) A variable, common block, or procedure pointer declared in the scoping unit
of a main program, [...] implicitly has the SAVE attribute


My interpretations of the issue is that we miss to set the SAVE_IMPLICIT,
which is confirmed by running under the debugger, which shows that a
has SAVE_NONE.

Reply via email to