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

--- Comment #7 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
(In reply to Christopher Albert from comment #6)
> Created attachment 63770 [details]
> Fix iterator counting in nested block scopes
> 
> Count FORALL/DO CONCURRENT iterators in EXEC_BLOCK namespace code chains
> while sizing VAR_EXPR in gfc_resolve_forall. This prevents undersized
> allocation and an ICE for nested FORALL/DO CONCURRENT inside ASSOCIATE/BLOCK
> constructs.

Looks goot to me and regression tests fine.

Reply via email to