[Bug bootstrap/84405] [8 Regression] Fails to bootstrap with GCC 4.1.2, GCC 4.2.4
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Feb 16 09:09:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84405
--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Feb 16 09:05:35 2018
New Revision: 257726
URL: https://gcc.gnu.org/viewcvs?rev=257726&root=gcc&view=rev
Log:
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.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/hash-table.h
trunk/gcc/system.h
trunk/gcc/vec.h
More information about the Gcc-bugs
mailing list