From: Richard Kenner Date: Wed, 5 Dec 2001 23:33:53 +0000 (-0500) Subject: attribs.c (handle_no_check_memory_usage_atribute): Deleted. X-Git-Tag: prereleases/libstdc++-3.0.95~425 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e4aae2617ab9bd32142b04b17611189353fe280b;p=thirdparty%2Fgcc.git attribs.c (handle_no_check_memory_usage_atribute): Deleted. * attribs.c (handle_no_check_memory_usage_atribute): Deleted. (c_com): Delete its reference. * builtins.c: Delete memory checking code. * calls.c, expr.c, function.c, stmt.c: Likewise. * builtins.c (expand_builtin_arg_info): Remove reference to EXPAND_MEMORY_USE_* modifiers. * explow.c (expr_size): Likewise. * expr.c (expand_expr, expand_increment): Likewise. * expr.h (ARGS_SIZE_RTX): Likewise. * function.c (assign_parms, expand_pending_sizeso): Likewise. * c-decl.c (duplicate_decls): Don't handle DECL_NO_CHECK_MEMORY_USAGE. * expr.c (in_check_memory_usage): Delete. (get_push_address, get_memory_usage_from_modifier): Delete. (expand_assigment): Use EXPAND_WRITE on destination. (expand_expr): Delete ro_modifier. * expr.h (expand_modifier): Delete EXPAND_MEMORY_* entries and add EXPAND_WRITE. (memory_use_mode): Delete. * flags.h (flag_check_memory_usage): Deleted. (flag_prefix_function_name): Likewise. * function.c (expand_function_start): Don't set current_function_check_memory_usage. * function.h (check_memory_usage): Delete. * libfuncs.h, optabs.c: Delete chkr_* stuff. * stmt.c (expand_asm_opernd): Change EXPAND_MEMORY_USE_WO to EXPAND_WRITE. * toplev.c (flag_check_memory_usage): Deleted. (flag_prefix_function_name): Likewise. (f_options, process_options): Delete references to above. * tree.h (DECL_NO_CHECK_MEMORY_USAGE): Deleted. * varasm.c (CHKR_PREFIX): Deleted. (make_decl_rtl): Remove flag_prefix_function_name handling. (assemble_name): Likewise. * doc/extend.texi: Remove no_check_memory_usage attribute. * doc/invoke.texi: Remove -fcheck-memory-usage and -fprefix-function-name. * cp/decl.c (duplicate_decls): Don't copy DECL_NO_CHECK_MEMORY_USAGE. From-SVN: r47702 --- diff --git a/gcc/optabs.c b/gcc/optabs.c index 4514f361667d..49ea3193c8cd 100644 --- a/gcc/optabs.c +++ b/gcc/optabs.c @@ -5050,13 +5050,6 @@ init_optabs () fixunstfdi_libfunc = init_one_libfunc ("__fixunstfdi"); fixunstfti_libfunc = init_one_libfunc ("__fixunstfti"); - /* For check-memory-usage. */ - chkr_check_addr_libfunc = init_one_libfunc ("chkr_check_addr"); - chkr_set_right_libfunc = init_one_libfunc ("chkr_set_right"); - chkr_copy_bitmap_libfunc = init_one_libfunc ("chkr_copy_bitmap"); - chkr_check_exec_libfunc = init_one_libfunc ("chkr_check_exec"); - chkr_check_str_libfunc = init_one_libfunc ("chkr_check_str"); - /* For function entry/exit instrumentation. */ profile_function_entry_libfunc = init_one_libfunc ("__cyg_profile_func_enter");