diff options
author | Jakub Jelinek <jakub@redhat.com> | 2018-03-16 09:05:06 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2018-03-16 09:05:06 +0100 |
commit | 828fd2fbe88ee6adb16b708d584caf96237046da (patch) | |
tree | 81a5f7d4c499c01ce8318c0eb2dc2855b3f87e64 /gcc/multiple_target.c | |
parent | 9f3599c044810c4fd17f1f36ec024c55a35021fd (diff) | |
download | gcc-828fd2fbe88ee6adb16b708d584caf96237046da.zip gcc-828fd2fbe88ee6adb16b708d584caf96237046da.tar.gz gcc-828fd2fbe88ee6adb16b708d584caf96237046da.tar.bz2 |
re PR c++/84874 (internal compiler error: in reshape_init_class, at cp/decl.c:5800)
PR c++/84874
* decl.c (reshape_init_class): Don't assert d->cur->index == field
if d->cur->index is a FIELD_DECL, instead set field to d->cur->index.
* g++.dg/cpp2a/desig7.C: New test.
From-SVN: r258585
Diffstat (limited to 'gcc/multiple_target.c')
0 files changed, 0 insertions, 0 deletions