re PR c++/64433 (Segmentation fault while compiling)
authorNathan Sidwell <nathan@acm.org>
Fri, 7 Oct 2016 20:01:17 +0000 (20:01 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Fri, 7 Oct 2016 20:01:17 +0000 (20:01 +0000)
commit45e2bf2e5e370e62c3cef575b6726dc936a45599
tree78bc0aa76089b14017a65f3d962a9887be116e09
parentbe845b04a8e13e91e7ecd76b60254c7d0acfda2e
re PR c++/64433 (Segmentation fault while compiling)

cp/
PR c++/64433
DR1658, DR1611
* init.c (emit_mem_initializers): Don't construct vbases of
abstract classes.
(push_base_cleanups): Don't push vbase cleanups for abstract class
when in C++14 mode.
* method.c (synthethesized_method_walk): Don't walk vbases of
abstract classes when in C++14 mode.

testsuite/
PR c++/66443
* g++.dg/cpp0x/pr66443-cxx11.C: New.
* g++.dg/cpp0x/pr66443-cxx11-2.C: New.
* g++.dg/cpp1y/pr66443-cxx14.C: New
* g++.dg/cpp1y/pr66443-cxx14-2.C: New.
* g++.dg/cpp1y/pr66443-cxx14-3.C: New.

From-SVN: r240874
gcc/cp/ChangeLog
gcc/cp/init.c
gcc/cp/method.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/pr66443-cxx11-2.C [new file with mode: 0644]
gcc/testsuite/g++.dg/cpp0x/pr66443-cxx11.C [new file with mode: 0644]
gcc/testsuite/g++.dg/cpp1y/pr66443-cxx14-2.C [new file with mode: 0644]
gcc/testsuite/g++.dg/cpp1y/pr66443-cxx14-3.C [new file with mode: 0644]
gcc/testsuite/g++.dg/cpp1y/pr66443-cxx14.C [new file with mode: 0644]