From: Tamar Christina Date: Sat, 18 Jan 2020 14:03:31 +0000 (+0000) Subject: AArch64: Fix unused variable warning breaking bootstrap. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=93bb79abfcccd09fd1daaf7dd8ff27f352d8f23f;p=gcc.git AArch64: Fix unused variable warning breaking bootstrap. This marks the parameter &fi as unused so it doesn't cause a boostrap failure. committed under the obvious rule. gcc/ChangeLog: * config/aarch64/aarch64-sve-builtins-base.cc (memory_vector_mode): Mark parameter unused. --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 173f62d814a..61a96f154c8 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2020-01-18 Tamar Christina + + * config/aarch64/aarch64-sve-builtins-base.cc (memory_vector_mode): + Mark parameter unused. + 2020-01-18 Hans-Peter Nilsson * config.gcc : Add crisv32-*-* and cris-*-linux* diff --git a/gcc/config/aarch64/aarch64-sve-builtins-base.cc b/gcc/config/aarch64/aarch64-sve-builtins-base.cc index 868a6afaf2e..b48932f6a4f 100644 --- a/gcc/config/aarch64/aarch64-sve-builtins-base.cc +++ b/gcc/config/aarch64/aarch64-sve-builtins-base.cc @@ -1206,7 +1206,7 @@ class svld1ro_impl : public load_replicate { public: machine_mode - memory_vector_mode (const function_instance &fi) const OVERRIDE + memory_vector_mode (const function_instance &fi ATTRIBUTE_UNUSED) const OVERRIDE { return OImode; }