aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/search.c
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@codesourcery.com>2004-08-30 16:03:48 +0000
committerNathan Sidwell <nathan@codesourcery.com>2004-08-30 16:03:48 +0000
commita9c215bcb9ccf24854092317c0506dd1e11409f8 (patch)
tree5bef1416b58d33002abdc3fef59a0c970f5aaccc /gcc/cp/search.c
parent276cfb93435ffa6e6f341fddd6d4c66ba038a8d4 (diff)
* name-lookup.c (pop_binding, pushdecl,
set_identifier_type_value_with_scope, push_overloaded_decl, arg_assoc_type): Replace abort with gcc_assert or gcc_unreachable. * parser.c (cp_parser_diagnose_invalid_type_name, cp_parser_postfix_expression, cp_parser_unary_expression, cp_parser_check_declarator_template_para): Likewise. * pt.c (push_inline_template_parms_recursive, check_explicit_specialization, convert_nontype_argument, coerce_template_template_parms, uses_template_parms, instantiate_class_template, tsubst_decl, tsubst, tsubst_copy, tsubst_expr, instantiate_template, maybe_adjust_types_for_deduction, type_unification_real, resolve_overloaded_unification, template_decl_level, type_dependent_expression_p): Likewise. * search.c (lookup_base_r): Likewise. * semantics.c (finish_stmt_expr, simplify_aggr_init_expr): Likewise. * tree.c (lvalue_p_1, count_functions, cxx_printable_name, verify_stmt_tree_r, get_type_decl, stabilize_call): Likewise. * typeck.c (common_type, get_member_function_from_ptrfunc, build_binary_op, build_unary_op, expand_ptrmemfunc_cst): Likewise. * typeck2.c (cxx_incomplete_type_diagnostic, split_nonconstant_init_1, store_init_value, process_init_constructor): Likewise. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@86782 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/search.c')
-rw-r--r--gcc/cp/search.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/search.c b/gcc/cp/search.c
index 2c5ec6b6808..d2b29f8977b 100644
--- a/gcc/cp/search.c
+++ b/gcc/cp/search.c
@@ -161,7 +161,7 @@ lookup_base_r (tree binfo, tree base, base_access access,
break;
default:
- abort ();
+ gcc_unreachable ();
}
}
return found;