OSDN Git Service

/cp
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 20 Dec 2011 10:38:44 +0000 (10:38 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 20 Dec 2011 10:38:44 +0000 (10:38 +0000)
commita76cd2d26648929ff4f9d879a03e7e74de43c474
tree01f04a02b58238e496fa171fa68d02bacf303bf6
parent8fc59e7b7b32ecaf93c80219eb66f398a72a6ac6
/cp
2011-12-20  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/51612
* semantics.c (is_valid_constexpr_fn): In case of constexpr
constructors also check for virtual base classes.

/testsuite
2011-12-20  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/51612
* g++.dg/cpp0x/constexpr-ice4.C: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182526 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/semantics.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/constexpr-ice4.C [new file with mode: 0644]