https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78618
--- Comment #10 from Steve Kargl <sgk at troutmask dot apl.washington.edu> --- On Sat, Dec 03, 2016 at 07:31:21AM +0000, janus at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78618 > > --- Comment #9 from janus at gcc dot gnu.org --- > (In reply to Steve Kargl from comment #8) > > Note, I configured gcc with > > > > ../gcc7/configure \ > > --prefix=$HOME/work/7 --with-isl=/usr/local \ > > --enable-languages=c,fortran,c++ --enable-libsanitizer \ > > --disable-libmudflap --disable-nls > > I'm configuring with > > --program-suffix=-7 --build=x86_64-linux-gnu --host=x86_64-linux-gnu > --target=x86_64-linux-gnu --with-arch=haswell --prefix=/us > r --libdir=/usr/lib --libexecdir=/usr/lib --enable-languages=c,c++,fortran > --disable-bootstrap --disable-multilib > > I admit that's not a full bootstrap, but I see things working on two different > machines. The testsuite is clean and compiling the test case by hand works as > well. > Others are see the failures. https://gcc.gnu.org/ml/gcc-testresults/2016-12/msg00313.html https://gcc.gnu.org/ml/gcc-testresults/2016-12/msg00311.html I think your patch is correct, but uncovering a new latent bug. Does your memory allocator fill freed memory with junk? This looks like a used-after-freed bug.