From 93bb79abfcccd09fd1daaf7dd8ff27f352d8f23f Mon Sep 17 00:00:00 2001 From: Tamar Christina Date: Sat, 18 Jan 2020 14:03:31 +0000 Subject: [PATCH] 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. --- gcc/ChangeLog | 5 +++++ gcc/config/aarch64/aarch64-sve-builtins-base.cc | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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; } -- 2.30.2