From 5eb9ac1e272c9bcdc17dd0b7d4707e70021a4483 Mon Sep 17 00:00:00 2001 From: Tamar Christina Date: Thu, 7 Feb 2019 11:05:22 +0000 Subject: [PATCH] AArch64: Fix initializer for array so it's a C initializer instead of C++. 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 | 5 +++++ gcc/config/aarch64/aarch64-builtins.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3ac46690dda..f18582040aa 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2019-02-07 Tamar Christina + + * config/aarch64/aarch64-builtins.c (aarch64_fcmla_lane_builtin_data): + Make it a C initializer. + 2019-02-07 Tamar Christina PR/target 88850 diff --git a/gcc/config/aarch64/aarch64-builtins.c b/gcc/config/aarch64/aarch64-builtins.c index c8f5a555f67..d7b1b7bd686 100644 --- a/gcc/config/aarch64/aarch64-builtins.c +++ b/gcc/config/aarch64/aarch64-builtins.c @@ -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 }; -- 2.30.2