diff options
author | Jason Merrill <jason@redhat.com> | 2020-03-04 12:08:42 -0500 |
---|---|---|
committer | Jason Merrill <jason@redhat.com> | 2020-03-04 17:32:10 -0500 |
commit | 6876b269bc7fe6465fedfed87c31e6175992129f (patch) | |
tree | 932e196928b06bdf75240404f18593556310a575 /gcc/print-rtl.c | |
parent | 10bbbb591cfe6cac200e926a73f3b8065147ce84 (diff) | |
download | gcc-6876b269bc7fe6465fedfed87c31e6175992129f.zip gcc-6876b269bc7fe6465fedfed87c31e6175992129f.tar.gz gcc-6876b269bc7fe6465fedfed87c31e6175992129f.tar.bz2 |
c++: Fix [[no_unique_address]] and default mem-init [PR90432]
output_constructor doesn't like two consecutive entries with fields at the
same position; let's avoid adding the one for the empty field.
gcc/cp/ChangeLog
2020-03-04 Jason Merrill <jason@redhat.com>
PR c++/90432
* init.c (perform_member_init): Don't do aggregate initialization of
empty field.
* constexpr.c (cx_check_missing_mem_inits): Don't enforce
initialization of empty field.
Diffstat (limited to 'gcc/print-rtl.c')
0 files changed, 0 insertions, 0 deletions