aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorUros Bizjak <uros@gcc.gnu.org>2013-08-26 11:02:04 +0200
committerUros Bizjak <uros@gcc.gnu.org>2013-08-26 11:02:04 +0200
commit5339fc0c3809039e333c42269bdc6436b8f980df (patch)
tree39c64ffe8c7cbe454b99e3647974216f764fdd49 /gcc
parent00d34d3ab19f3a9e9f3f90f5b83f7ece4daa8a62 (diff)
downloadgcc-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')
-rw-r--r--gcc/ChangeLog33
-rw-r--r--gcc/config/i386/i386.c25
2 files changed, 31 insertions, 27 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 69cfa62..b1e2334 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,7 +1,18 @@
+2013-08-26 Uros Bizjak <ubizjak@gmail.com>
+
+ * 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.
+
2013-08-23 Jan Hubicka <jh@suse.cz>
- * cgraph.c (cgraph_turn_edge_to_speculative):
- Fix debug output.
+ * cgraph.c (cgraph_turn_edge_to_speculative): Fix debug output.
2013-08-23 Jan Hubicka <jh@suse.cz>
@@ -188,7 +199,8 @@
(dump_type_inheritance_graph): Do not ICE when there are no ODR types.
(maybe_record_node): Record node in cached_polymorphic_call_targets.
(record_binfo): Add comment.
- (free_polymorphic_call_targets_hash): Do not ICE when cache is not built.
+ (free_polymorphic_call_targets_hash): Do not ICE when cache is not
+ built.
(devirt_node_removal_hook): Do not iCE when cache is freed.
(possible_polymorphic_call_target_p): New predicate.
(update_type_inheritance_graph): New function.
@@ -275,7 +287,8 @@
(*movsf_internal): Likewise.
(*fop_<mode>_comm_sse): Replace constraint "x" with new constraint "v".
(<code><mode>3): Likewise.
- * config/i386/i386.opt (mavx512f, mavx512pf, mavx512er, mavx512cd): New.
+ * config/i386/i386.opt (mavx512f, mavx512pf, mavx512er, mavx512cd):
+ New.
* config/i386/mmx.md (*mov<mode>_internal): Replace constraint "x"
with the new constraint "v".
* config/i386/sse.md (*mov<mode>_internal): Support new registers and
@@ -363,8 +376,7 @@
2013-08-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
- * config/sol2-10.h (TARGET_LIBC_HAS_FUNCTION): Don't nest
- comment.
+ * config/sol2-10.h (TARGET_LIBC_HAS_FUNCTION): Don't nest comment.
2013-08-21 Jeff Law <law@redhat.com>
@@ -548,8 +560,8 @@
(BUILT_IN_FABSD128): Likewise.
* builtins.c (expand_builtin): Add support for new DFP ABS builtins.
(fold_builtin_1): Likewise.
- * config/rs6000/dfp.md (*negtd2_fpr): Handle non-overlapping destination
- and source operands.
+ * config/rs6000/dfp.md (*negtd2_fpr): Handle non-overlapping
+ destination and source operands.
(*abstd2_fpr): Likewise.
(*nabstd2_fpr): Likewise.
@@ -579,7 +591,7 @@
(DEF_C99_COMPL_BUILTIN): New define. Change all complex c99 builtin
definitions to using this define.
* config/darwin-protos.h (darwin_libc_has_function): New.
- * config/darwin.c: (darwin_libc_has_function: Ditto.
+ * config/darwin.c (darwin_libc_has_function): Ditto.
* config/alpha/linux.h: Remove TARGET_C99_FUNCTIONS and
TARGET_HAS_SINCOS. Redefine TARGET_LIBC_HAS_FUNCTION.
* config/darwin.h: Ditto.
@@ -727,8 +739,7 @@
unspec enumeration.
(power8 fusion peephole/peephole2): Rework the fusion peepholes to
adjust the register addis loads up in the peephole2 pass. Do not
- depend on the register live/dead state when the peephole pass is
- done.
+ depend on the register live/dead state when the peephole pass is done.
2013-08-16 David Malcolm <dmalcolm@redhat.com>
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;