AArch64: Fix unused variable warning breaking bootstrap.
authorTamar Christina <tamar.christina@arm.com>
Sat, 18 Jan 2020 14:03:31 +0000 (14:03 +0000)
committerTamar Christina <tamar.christina@arm.com>
Sat, 18 Jan 2020 14:04:58 +0000 (14:04 +0000)
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
gcc/config/aarch64/aarch64-sve-builtins-base.cc

index 173f62d814ac734f0d633923b470165deb6e9f6a..61a96f154c8fec8b9193cc4c55ff0d7184f54371 100644 (file)
@@ -1,3 +1,8 @@
+2020-01-18  Tamar Christina  <tamar.christina@arm.com>
+
+       * config/aarch64/aarch64-sve-builtins-base.cc (memory_vector_mode):
+       Mark parameter unused.
+
 2020-01-18  Hans-Peter Nilsson  <hp@axis.com>
 
        * config.gcc <obsolete targets>: Add crisv32-*-* and cris-*-linux*
index 868a6afaf2e77a77df8a97e2c874d52f5c0b7029..b48932f6a4fd265e1f5d0bd62d222c163857b63e 100644 (file)
@@ -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;
   }