https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98904
--- Comment #14 from David Binderman <dcb314 at hotmail dot com> ---
I confirm that the problem seems to have gone away.
I used this configure script:
CC="gcc -g1 -O3 -march=znver3" CXX="g++ -g1 -O3 -march=znver3" \
../trunk/configure --prefix=$HOME/gcc/results.$DATE.valgrind \
--disable-bootstrap \
--disable-multilib \
--with-pkgversion=$HASH \
--enable-checking=valgrind \
--enable-languages=fortran
