diff options
author | Paolo Carlini <paolo.carlini@oracle.com> | 2012-04-02 00:13:30 +0000 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2012-04-02 00:13:30 +0000 |
commit | 593a083530a21d54d39929706ffdef2d98df8ae6 (patch) | |
tree | 112b4c506f1ca661eef5e95c7ff36c47d3577d8d /gcc/cp/method.c | |
parent | ea2c1a6d673c443effb1adbc652143c2b3934a5d (diff) | |
download | gcc-593a083530a21d54d39929706ffdef2d98df8ae6.zip gcc-593a083530a21d54d39929706ffdef2d98df8ae6.tar.gz gcc-593a083530a21d54d39929706ffdef2d98df8ae6.tar.bz2 |
re PR c++/50043 ([C++0x] Implement core/1123)
/cp
2012-04-01 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/50043
* class.c (deduce_noexcept_on_destructor,
deduce_noexcept_on_destructors): New.
(check_bases_and_members): Call the latter.
* decl.c (grokfndecl): Call the former.
* method.c (implicitly_declare_fn): Not static.
* cp-tree.h (deduce_noexcept_on_destructor, implicitly_declare_fn):
Declare
/testsuite
2012-04-01 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/50043
* g++.dg/cpp0x/noexcept17.C: New.
* g++.old-deja/g++.eh/cleanup1.C: Adjust.
* g++.dg/tree-ssa/ehcleanup-1.C: Likewise.
* g++.dg/cpp0x/noexcept01.C: Likewise.
* g++.dg/eh/init-temp1.C: Likewise.
* g++.dg/eh/ctor1.C: Likwise.
From-SVN: r186058
Diffstat (limited to 'gcc/cp/method.c')
-rw-r--r-- | gcc/cp/method.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/method.c b/gcc/cp/method.c index 0d4793e..79bed4a 100644 --- a/gcc/cp/method.c +++ b/gcc/cp/method.c @@ -1444,7 +1444,7 @@ explain_implicit_non_constexpr (tree decl) reference argument or a non-const reference. Returns the FUNCTION_DECL for the implicitly declared function. */ -static tree +tree implicitly_declare_fn (special_function_kind kind, tree type, bool const_p) { tree fn; |