aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/method.c
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@acm.org>2017-06-16 14:43:20 +0000
committerNathan Sidwell <nathan@gcc.gnu.org>2017-06-16 14:43:20 +0000
commit0d1dc5862f978beb28c76b91b137ccc23f747498 (patch)
tree008d36677165ca97125bd44718c610d4e8d5a989 /gcc/cp/method.c
parent6a2dfd9a66a678b26c762d0fc614fea267ea706b (diff)
downloadgcc-0d1dc5862f978beb28c76b91b137ccc23f747498.zip
gcc-0d1dc5862f978beb28c76b91b137ccc23f747498.tar.gz
gcc-0d1dc5862f978beb28c76b91b137ccc23f747498.tar.bz2
Don't defer noexcept_deferred_spec.
* cp-tree.h (unevaluated_noexcept_spec): Don't declare. * decl.c (cxx_init_decl_processing): Initialize noexcept_deferred_spec. * except.c (unevaluated_noexcept_spec): Delete. * class.c (deduce_noexcept_on_destructor): Use noexcept_deferred_spec directly. * method.c (implicitly_declare_fn): Likewise. From-SVN: r249264
Diffstat (limited to 'gcc/cp/method.c')
-rw-r--r--gcc/cp/method.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/method.c b/gcc/cp/method.c
index aa607d5..98d36da 100644
--- a/gcc/cp/method.c
+++ b/gcc/cp/method.c
@@ -2023,7 +2023,7 @@ implicitly_declare_fn (special_function_kind kind, tree type,
}
else if (cxx_dialect >= cxx11)
{
- raises = unevaluated_noexcept_spec ();
+ raises = noexcept_deferred_spec;
synthesized_method_walk (type, kind, const_p, NULL, &trivial_p,
&deleted_p, &constexpr_p, false,
inherited_ctor, inherited_parms);