re PR c++/82294 (Array of objects with constexpr constructors initialized from space...
authorJakub Jelinek <jakub@redhat.com>
Fri, 14 Dec 2018 19:36:33 +0000 (20:36 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 14 Dec 2018 19:36:33 +0000 (20:36 +0100)
commitfaa9232da39587b27b46341667d6d415d2af9280
tree9bdd47d61567f7caaa33e66ef8756ceaf23ca65b
parent8d33eae8913eb827d595808416a3d27cffedbf56
re PR c++/82294 (Array of objects with constexpr constructors initialized from space-inefficient memory image)

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.

From-SVN: r267142
gcc/cp/ChangeLog
gcc/cp/init.c