re PR c++/58871 ([c++11] ICE with defaulted copy constructor in broken template class...
authorPaolo Carlini <paolo.carlini@oracle.com>
Mon, 3 Feb 2014 18:22:46 +0000 (18:22 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Mon, 3 Feb 2014 18:22:46 +0000 (18:22 +0000)
commitf344f525193bd4e271ea50c5eb7a4e92c57dbc67
treeef34bcaa01238eb23ee38cda1888df3188a6be29
parentcf5b2be2a4b13c3fb806033840581cd02080375c
re PR c++/58871 ([c++11] ICE with defaulted copy constructor in broken template class hierarchy)

/cp
2014-02-03  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/58871
* method.c (synthesized_method_walk): If vbases is non-null but
is_empty is true, likewise don't worry about the virtual bases.

/testsuite
2014-02-03  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/58871
* g++.dg/cpp0x/pr58871.C: New.

From-SVN: r207434
gcc/cp/ChangeLog
gcc/cp/method.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/pr58871.C [new file with mode: 0644]