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

David Binderman <dcb314 at hotmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dcb314 at hotmail dot com

--- Comment #9 from David Binderman <dcb314 at hotmail dot com> ---
Interesting, I made a valgrind version of gcc fortran. 

gfortran -v says

gcc version 11.0.0 20201210 (experimental) (97b56dece7413839)

I then compiled as follows:

$ /home/dcb/gcc/./results.20201211.valgrind/bin/gfortran -c
./gfortran.dg/pr93337.f90
==14689== Invalid read of size 1
==14689==    at 0x650C4B: gfc_find_derived_vtab(gfc_symbol*) (class.c:2271)
==14689==    by 0x6B7171: gfc_match_assignment() (match.c:1393)
==14689==    by 0x6E9E52: match_word (parse.c:65)
==14689==    by 0x6E9E52: decode_statement() (parse.c:361)

I am not sure if this is important enough to be worth fixing.

Reply via email to