From 2754b50bc70f2120b618393609114e9ba145adfd Mon Sep 17 00:00:00 2001 From: Martin Liska Date: Mon, 20 May 2019 12:48:46 +0200 Subject: [PATCH] Add missing ATTRIBUTE_UNUSED for ix86_libc_has_fast_function. 2019-05-20 Martin Liska * config/i386/i386.c (ix86_libc_has_fast_function): Add ATTRIBUTE_UNUSED for the argument. From-SVN: r271406 --- gcc/ChangeLog | 5 +++++ gcc/config/i386/i386.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 920ea6ffa65..237a1c1716f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2019-05-20 Martin Liska + + * config/i386/i386.c (ix86_libc_has_fast_function): + Add ATTRIBUTE_UNUSED for the argument. + 2019-05-20 Richard Biener * gimple-match-head.c: Include vec-perm-indices.h. diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 696a4745303..647d17d0a68 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -23074,7 +23074,7 @@ ix86_run_selftests (void) #define TARGET_GET_MULTILIB_ABI_NAME \ ix86_get_multilib_abi_name -static bool ix86_libc_has_fast_function (int fcode) +static bool ix86_libc_has_fast_function (int fcode ATTRIBUTE_UNUSED) { #ifdef OPTION_GLIBC if (OPTION_GLIBC) -- 2.30.2