]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Add missing ATTRIBUTE_UNUSED for ix86_libc_has_fast_function.
authorMartin Liska <mliska@suse.cz>
Mon, 20 May 2019 10:48:46 +0000 (12:48 +0200)
committerMartin Liska <marxin@gcc.gnu.org>
Mon, 20 May 2019 10:48:46 +0000 (10:48 +0000)
2019-05-20  Martin Liska  <mliska@suse.cz>

* config/i386/i386.c (ix86_libc_has_fast_function):
Add ATTRIBUTE_UNUSED for the argument.

From-SVN: r271406

gcc/ChangeLog
gcc/config/i386/i386.c

index 920ea6ffa6594feecd680c78dcccdb9d1e196e64..237a1c1716f06eec3a0b5babcc6021d8b74d24a0 100644 (file)
@@ -1,3 +1,8 @@
+2019-05-20  Martin Liska  <mliska@suse.cz>
+
+       * config/i386/i386.c (ix86_libc_has_fast_function):
+       Add ATTRIBUTE_UNUSED for the argument.
+
 2019-05-20  Richard Biener  <rguenther@suse.de>
 
        * gimple-match-head.c: Include vec-perm-indices.h.
index 696a4745303d12c29e01b0d22a7a8bd1662761c3..647d17d0a68f144ce73fbdedc3acc8a980088b82 100644 (file)
@@ -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)