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

--- Comment #24 from Uroš Bizjak <ubizjak at gmail dot com> ---
(In reply to Mikael Morin from comment #22)
> (In reply to rguent...@suse.de from comment #21)
> > Transfer.4 _is_ null in the case we segfault.  So the guard us clearly 
> > wrong.
> > 
> OK, let's try something else.
> Are you positive transfer.4 is null?
> I don't see anything that would make it so.

I can confirm that this patch fixes "Invalid read of size 8" valgrind memory
error for gfortran.dg/class_allocate_18.f90.

Reply via email to