Garbage collection bugs

2019-01-09 Thread Joern Wolfgang Rennecke
We've been running builds/regression tests for GCC 8.2 configured with --enable-checking=all, and have observed some failures related to garbage collection. First problem: The g++.dg/pr85039-2.C tests (I've looked in detail at -std=c++98, but -std=c++11 and -std=c++14 appear to follow the sam

Re: Garbage collection bugs

2019-01-09 Thread Arseny Solokha
> First problem: > > The g++.dg/pr85039-2.C tests (I've looked in detail at -std=c++98, but > -std=c++11 and -std=c++14 appear to follow the same pattern) see gcc > garbage-collecting a live vector.  A subsequent access to the vector with > vec_quick_push causes a segmentation fault, as m_vecpfx.m

Re: Garbage collection bugs

2019-01-09 Thread Richard Biener
On Wed, Jan 9, 2019 at 10:46 AM Joern Wolfgang Rennecke wrote: > > We've been running builds/regression tests for GCC 8.2 configured with > --enable-checking=all, and have observed some failures related to > garbage collection. > > First problem: > > The g++.dg/pr85039-2.C tests (I've looked in de

Re: Garbage collection bugs

2019-01-09 Thread Richard Biener
On Wed, Jan 9, 2019 at 12:48 PM Richard Biener wrote: > > On Wed, Jan 9, 2019 at 10:46 AM Joern Wolfgang Rennecke > wrote: > > > > We've been running builds/regression tests for GCC 8.2 configured with > > --enable-checking=all, and have observed some failures related to > > garbage collection. >

Re: Garbage collection bugs

2019-01-09 Thread Jan Hubicka
> On Wed, Jan 9, 2019 at 12:48 PM Richard Biener > wrote: > > > > On Wed, Jan 9, 2019 at 10:46 AM Joern Wolfgang Rennecke > > wrote: > > > > > > We've been running builds/regression tests for GCC 8.2 configured with > > > --enable-checking=all, and have observed some failures related to > > > gar