On 29/06/17 17:15, Jan Hubicka wrote: > Hello, >> diff --git a/gcc/hash-table.h b/gcc/hash-table.h >> index 0f7e21a..443d16c 100644 >> --- a/gcc/hash-table.h >> +++ b/gcc/hash-table.h >> @@ -803,7 +803,10 @@ hash_table<Descriptor, Allocator>::empty_slow () >> m_size_prime_index = nindex; >> } >> else >> - memset (entries, 0, size * sizeof (value_type)); >> + { >> + for ( ; size; ++entries, --size) >> + *entries = value_type (); >> + } >> m_n_deleted = 0; >> m_n_elements = 0; >> } > > This change sends our periodic testers into an infinite loop. It is fault of > gcc 4.2 being used > as bootstrap compiler, but perhaps that can be worked around? > > Honza >
Same is also true on RHE5 (gcc-4.1). R.