diff options
author | Uros Bizjak <uros@gcc.gnu.org> | 2013-08-26 11:02:04 +0200 |
---|---|---|
committer | Uros Bizjak <uros@gcc.gnu.org> | 2013-08-26 11:02:04 +0200 |
commit | 5339fc0c3809039e333c42269bdc6436b8f980df (patch) | |
tree | 39c64ffe8c7cbe454b99e3647974216f764fdd49 /gcc/config | |
parent | 00d34d3ab19f3a9e9f3f90f5b83f7ece4daa8a62 (diff) | |
download | gcc-5339fc0c3809039e333c42269bdc6436b8f980df.zip gcc-5339fc0c3809039e333c42269bdc6436b8f980df.tar.gz gcc-5339fc0c3809039e333c42269bdc6436b8f980df.tar.bz2 |
i386.c (ix86_debug_options): Remove prototype.
* config/i386/i386.c (ix86_debug_options): Remove prototype.
(x86_64_elf_select_section): Ditto.
(ix86_handle_tm_regparm_attribute): Remove ATTRIBUTE_UNUSED on used
arguments.
(ix86_pass_by_reference): Ditto.
(ix86_return_in_memory): Ditto.
(output_set_got): Ditto.
(ix86_unary_operator_ok): Ditto.
(ix86_expand_builtin): Ditto.
From-SVN: r201988
Diffstat (limited to 'gcc/config')
-rw-r--r-- | gcc/config/i386/i386.c | 25 |
1 files changed, 9 insertions, 16 deletions
diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 536c357..442b4f6 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -2321,7 +2321,6 @@ enum ix86_function_specific_strings static char *ix86_target_string (HOST_WIDE_INT, int, const char *, const char *, enum fpmath_unit, bool); -static void ix86_debug_options (void) ATTRIBUTE_UNUSED; static void ix86_function_specific_save (struct cl_target_option *); static void ix86_function_specific_restore (struct cl_target_option *); static void ix86_function_specific_print (FILE *, int, @@ -2754,7 +2753,7 @@ ix86_profile_before_prologue (void) /* Function that is callable from the debugger to print the current options. */ -void +void ATTRIBUTE_UNUSED ix86_debug_options (void) { char *opts = ix86_target_string (ix86_isa_flags, target_flags, @@ -4848,10 +4847,7 @@ ix86_in_large_data_p (tree exp) RELOC indicates whether forming the initial value of DECL requires link-time relocations. */ -static section * x86_64_elf_select_section (tree, int, unsigned HOST_WIDE_INT) - ATTRIBUTE_UNUSED; - -static section * +static section * ATTRIBUTE_UNUSED x86_64_elf_select_section (tree decl, int reloc, unsigned HOST_WIDE_INT align) { @@ -5303,8 +5299,7 @@ ix86_handle_cconv_attribute (tree *node, tree name, static tree ix86_handle_tm_regparm_attribute (tree *node, tree name ATTRIBUTE_UNUSED, tree args ATTRIBUTE_UNUSED, - int flags ATTRIBUTE_UNUSED, - bool *no_add_attrs) + int flags, bool *no_add_attrs) { tree alt; @@ -7228,8 +7223,7 @@ ix86_function_arg (cumulative_args_t cum_v, enum machine_mode omode, appropriate for passing a pointer to that type. */ static bool -ix86_pass_by_reference (cumulative_args_t cum_v ATTRIBUTE_UNUSED, - enum machine_mode mode ATTRIBUTE_UNUSED, +ix86_pass_by_reference (cumulative_args_t cum_v, enum machine_mode mode, const_tree type, bool named ATTRIBUTE_UNUSED) { CUMULATIVE_ARGS *cum = get_cumulative_args (cum_v); @@ -7762,7 +7756,7 @@ return_in_memory_ms_64 (const_tree type, enum machine_mode mode) } static bool -ix86_return_in_memory (const_tree type, const_tree fntype ATTRIBUTE_UNUSED) +ix86_return_in_memory (const_tree type, const_tree fntype) { #ifdef SUBTARGET_RETURN_IN_MEMORY return SUBTARGET_RETURN_IN_MEMORY (type, fntype); @@ -8950,7 +8944,7 @@ ix86_code_end (void) /* Emit code for the SET_GOT patterns. */ const char * -output_set_got (rtx dest, rtx label ATTRIBUTE_UNUSED) +output_set_got (rtx dest, rtx label) { rtx xops[3]; @@ -18060,7 +18054,7 @@ ix86_dep_by_shift_count (const_rtx set_insn, const_rtx use_insn) bool ix86_unary_operator_ok (enum rtx_code code ATTRIBUTE_UNUSED, enum machine_mode mode ATTRIBUTE_UNUSED, - rtx operands[2] ATTRIBUTE_UNUSED) + rtx operands[2]) { /* If one of operands is memory, source and destination must match. */ if ((MEM_P (operands[0]) @@ -32154,9 +32148,8 @@ ix86_expand_vec_set_builtin (tree exp) IGNORE is nonzero if the value is to be ignored. */ static rtx -ix86_expand_builtin (tree exp, rtx target, rtx subtarget ATTRIBUTE_UNUSED, - enum machine_mode mode ATTRIBUTE_UNUSED, - int ignore ATTRIBUTE_UNUSED) +ix86_expand_builtin (tree exp, rtx target, rtx subtarget, + enum machine_mode mode, int ignore) { const struct builtin_description *d; size_t i; |