https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89747
--- Comment #2 from David Binderman <dcb314 at hotmail dot com> --- The problem seems to occur from this compile line: /home/dcb/gcc/working/./gcc/gfortran -B/home/dcb/gcc/working/./gcc/ -B/home/dcb/gcc/results.269700.valgrind/x86_64-pc-linux-gnu/bin/ -B/home/dcb/gcc/results.269700.valgrind/x86_64-pc-linux-gnu/lib/ -isystem /home/dcb/gcc/results.269700.valgrind/x86_64-pc-linux-gnu/include -isystem /home/dcb/gcc/results.269700.valgrind/x86_64-pc-linux-gnu/sys-include -fchecking=1 -I . -Wall -Werror -fimplicit-none -fno-repack-arrays -fno-underscoring -fallow-leading-underscore -g -O2 -c ../../../trunk/libgfortran/intrinsics/selected_real_kind.f90 -fPIC -o .libs/selected_real_kind.o I have no idea about Fortran 90, but this command line seems to generate the error message from valgrind: /home/dcb/gcc/working/./gcc/gfortran -B/home/dcb/gcc/working/./gcc/ -I . -fimplicit-none -fno-repack-arrays -fno-underscoring -fallow-leading-underscore -c /tmp/qwe.f90 Strangely, no optimiser required.