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

--- Comment #50 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
(In reply to Jerry DeLisle from comment #49)
> (In reply to Harald Anlauf from comment #48)
> > (In reply to Jerry DeLisle from comment #47)
> > > I have a proposed fix I am posting on the lists for review.
> > 
> > Hi Jerry!
> > 
> > The patch posted in
> > https://gcc.gnu.org/pipermail/fortran/2026-June/064021.html
> > works for your new testcase, but it still fails for me on the original one:
> > 
> > % gfc-17 assumed_rank_7.f90 -fsanitize=address -g -O && ./a.out 
> 
> Thanks for feedback. I will investigate.

The submitted patch had:

gfc_class_array_data_assign (&block, tmp, se->expr, false);

It needs to be:

gfc_class_array_data_assign (&block, tmp, se->expr, true);

I will resubmit to the list after I retest everything.

Reply via email to