commit | ff4deb4b1d0c5947669ddc76fde4db83e28009d8 | [log] [tgz] |
---|---|---|
author | Jason Merrill <jason@redhat.com> | Wed Jun 16 17:42:15 2021 -0400 |
committer | Jason Merrill <jason@redhat.com> | Wed Jun 16 23:38:32 2021 -0400 |
tree | 922618349cebb30488c529380f2d3c59318181a3 | |
parent | 9a61dfdb5ecb58bc4caea1c11e017d93bdd1d9a5 [diff] |
c++: Tweak PR101029 fix The case of an initializer with side effects for a zero-length array seems extremely unlikely, but we should still return the right type in that case. PR c++/101029 gcc/cp/ChangeLog: * init.c (build_vec_init): Preserve the type of base.