re PR bootstrap/84405 (Fails to bootstrap with GCC 4.1.2, GCC 4.2.4)
authorJakub Jelinek <jakub@redhat.com>
Fri, 16 Feb 2018 09:05:35 +0000 (10:05 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 16 Feb 2018 09:05:35 +0000 (10:05 +0100)
commitab67039ccd31de6d0192d4560ff971ff0af81726
tree0263d95f48f4201cf663f022f24d2e4e85fd6d6d
parent33006d53fd3adf2baae85b625e3ec99908b7a31c
re PR bootstrap/84405 (Fails to bootstrap with GCC 4.1.2, GCC 4.2.4)

PR bootstrap/84405
* system.h (BROKEN_VALUE_INITIALIZATION): Define for GCC < 4.3.
* vec.h (vec_default_construct): Use memset instead of placement new
if BROKEN_VALUE_INITIALIZATION is defined.
* hash-table.h (hash_table<Descriptor, Allocator>::empty_slow): Use
memset instead of value initialization if BROKEN_VALUE_INITIALIZATION
is defined.

From-SVN: r257726
gcc/ChangeLog
gcc/hash-table.h
gcc/system.h
gcc/vec.h