]> gcc.gnu.org Git - gcc.git/commit - gcc/cp/cp-tree.h
re PR c++/60389 ([c++11] ICE with inheriting constructors and wrong usage of constexpr)
authorPaolo Carlini <paolo.carlini@oracle.com>
Tue, 11 Mar 2014 17:34:32 +0000 (17:34 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Tue, 11 Mar 2014 17:34:32 +0000 (17:34 +0000)
commit5af1876c657286423edbf631be14a36ce2dcaeaa
tree815b5a91ba62eb93aca7edda95961ff3478f1fef
parent06dce00742a8f1c917c3b9113eafca0883b3e7a4
re PR c++/60389 ([c++11] ICE with inheriting constructors and wrong usage of constexpr)

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

PR c++/60389
* method.c (get_inherited_ctor): New.
* cp-tree.h (get_inherited_ctor): Declare it.
* semantics.c (is_valid_constexpr_fn): Use it.

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

PR c++/60389
* g++.dg/cpp0x/inh-ctor19.C: New.

From-SVN: r208491
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/method.c
gcc/cp/semantics.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/inh-ctor19.C [new file with mode: 0644]
This page took 0.054234 seconds and 5 git commands to generate.