https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83230
--- Comment #5 from Jürgen Reuter <juergen.reuter at desy dot de> --- (In reply to Jakub Jelinek from comment #4) > The Makefile doesn't have any -O* options, is this all without optimizations? > I admit I've been only compiling the fortran source with trunk f951, the > rest with the system gcc (6.3.1), but for f951 I've tried several revisions > including > /opt/notnfs/gcc-bisect/obj/gcc/f951.255190 -quiet main_ut.f90; gfortran > WOXDR.o WOStdHep.o WOStdHepRdr.o -ldl -lstdc++ -o rt_error main_ut.f90; > ./rt_error > writing stdhep event ... > ... done. > Starting to read that file: Yes, indeed we do not include any optimisations flags. For our software project we use libtool which puts in -O2 -g IIRC. I believe that you have to link to the libstdc++ which comes with the corresponding gcc svn revision in order to reproduce the issue.