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

--- Comment #3 from Steve Kargl <sgk at troutmask dot apl.washington.edu> ---
On Thu, Jul 14, 2022 at 07:35:21PM +0000, anlauf at gcc dot gnu.org wrote:
> 
> --- Comment #2 from anlauf at gcc dot gnu.org ---
> (In reply to kargl from comment #1)
> > Instead of an assert(), simply return false to give gfortran a chance to
> > emit an error.
> 
> Steve, your patch does fix z1, but not z2, which hits the
> 
>   gfc_internal_error ("gfc_array_size failed");

Sorry about that.  Your patch looks good to me.

Reply via email to