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

--- Comment #4 from anlauf at gcc dot gnu.org ---
(In reply to kargls from comment #1)
> (In reply to philippe.wautelet from comment #0)
> 
> > 
> > I'm not sure it is conforming to the Fortran standard but it shouldn't
> > trigger an ICE.
> > 
> 
> I agree with you about the ICE should not happen.  Staring at F2023,
> I find the following constraint.
> 
> C8107 (R871) The namelist-group-name shall not be a name accessed by use
> association.
> 
> If I understand it, your code is nonstandard.  But, I don't use namelist, so
> will need to read through the Fortran standard a bit more.

This constraint applies to the namelist statement and does not apply to the
issue here.

Reply via email to