[Bug c++/82294] Array of objects with constexpr constructors initialized from space-inefficient memory image
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Dec 14 19:37:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82294
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Dec 14 19:36:33 2018
New Revision: 267142
URL: https://gcc.gnu.org/viewcvs?rev=267142&root=gcc&view=rev
Log:
PR c++/82294
PR c++/87436
* init.c (build_vec_init): Change num_initialized_elts type from int
to HOST_WIDE_INT. Build a RANGE_EXPR if e needs to be repeated more
than once.
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/init.c
More information about the Gcc-bugs
mailing list