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

--- Comment #23 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
(In reply to David Binderman from comment #0)
> I just tried to compile the above fortran code on a recent
> valgrind version of trunk gfortran.
> 
> /home/dcb/gcc/results.245439/bin/gfortran -c gfortran.dg/fimplicit_none_2.f90
> 
> After some errors, it said
> 
> ==28421== Invalid read of size 8
> ==28421==    at 0x6B1095: check_host_association (resolve.c:5401)
> ==28421==    by 0x6B1095: gfc_resolve_expr(gfc_expr*) (resolve.c:6470)
> ==28421==    by 0x6B44AB: resolve_charlen(gfc_charlen*) [clone .part.60]
> (resolv
> e.c:11401)
> ==28421==    by 0x6BE77F: resolve_charlen (resolve.c:11392)

What is meant by a valgrind version in this original report.

With Christophers patch on gcc16 (trunk) I do not see any errors.

However, I don't get any errors with gcc15 either with the testcase. I am not
sure I am testing this correctly.

Reply via email to