diff options
Diffstat (limited to 'gcc/cp/method.c')
-rw-r--r-- | gcc/cp/method.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gcc/cp/method.c b/gcc/cp/method.c index 4de6cc2dd8c..97643b7f4f0 100644 --- a/gcc/cp/method.c +++ b/gcc/cp/method.c @@ -1645,10 +1645,8 @@ maybe_explain_implicit_delete (tree decl) "deleted because its exception-specification does not " "match the implicit exception-specification %qX", decl, raises); -#ifdef ENABLE_CHECKING - else + else if (flag_checking) gcc_unreachable (); -#endif pop_scope (scope); } |