diff options
author | Marek Polacek <polacek@redhat.com> | 2019-03-25 16:38:48 +0000 |
---|---|---|
committer | Marek Polacek <mpolacek@gcc.gnu.org> | 2019-03-25 16:38:48 +0000 |
commit | bf8c1b11d560b377c46177d4bcfe146c8b220587 (patch) | |
tree | 5c45e44201be32398ac31f7e6f8d373145b17cb6 /gcc/dwarf2out.c | |
parent | a55f758221cfd574cc341f969c27f8ecdac087a4 (diff) | |
download | gcc-bf8c1b11d560b377c46177d4bcfe146c8b220587.zip gcc-bf8c1b11d560b377c46177d4bcfe146c8b220587.tar.gz gcc-bf8c1b11d560b377c46177d4bcfe146c8b220587.tar.bz2 |
PR c++/89214 - ICE when initializing aggregates with bases.
* typeck2.c (digest_init_r): Warn about object slicing instead of
crashing.
* g++.dg/cpp1z/aggr-base8.C: New test.
* g++.dg/cpp1z/aggr-base9.C: New test.
From-SVN: r269919
Diffstat (limited to 'gcc/dwarf2out.c')
0 files changed, 0 insertions, 0 deletions