AArch64: Fix initializer for array so it's a C initializer instead of C++.
authorTamar Christina <tamar.christina@arm.com>
Thu, 7 Feb 2019 11:05:22 +0000 (11:05 +0000)
committerTamar Christina <tnfchris@gcc.gnu.org>
Thu, 7 Feb 2019 11:05:22 +0000 (11:05 +0000)
This fixes a missing = that would cause the array initializer to be a C++
initializer instead of a C one, causing a warning when building with pre-C++11
standards compiler.

Committed under the GCC obvious rules.

gcc/ChangeLog:

* config/aarch64/aarch64-builtins.c (aarch64_fcmla_lane_builtin_data):
Make it a C initializer.

From-SVN: r268614

gcc/ChangeLog
gcc/config/aarch64/aarch64-builtins.c

index 3ac46690dda589e833638912ff484437c8e00fe0..f18582040aa2154b2385a9f7619297bdaddfe3e5 100644 (file)
@@ -1,3 +1,8 @@
+2019-02-07  Tamar Christina  <tamar.christina@arm.com>
+
+       * config/aarch64/aarch64-builtins.c (aarch64_fcmla_lane_builtin_data):
+       Make it a C initializer.
+
 2019-02-07  Tamar Christina  <tamar.christina@arm.com>
 
        PR/target 88850
index c8f5a555f6724433dc6cea1cff3547c0c66c54a7..d7b1b7bd6867a0f98a2f67fec0fd80a0a08f69c1 100644 (file)
@@ -455,7 +455,7 @@ static aarch64_crc_builtin_datum aarch64_crc_builtin_data[] = {
 
 /* This structure contains how to manage the mapping form the builtin to the
    instruction to generate in the backend and how to invoke the instruction.  */
-static aarch64_fcmla_laneq_builtin_datum aarch64_fcmla_lane_builtin_data[] {
+static aarch64_fcmla_laneq_builtin_datum aarch64_fcmla_lane_builtin_data[] {
   AARCH64_SIMD_FCMLA_LANEQ_BUILTINS
 };