From 1db9ce24bb1844c4ff341e01f17316c55ab31d66 Mon Sep 17 00:00:00 2001 From: Rainer Orth Date: Fri, 8 Dec 2017 09:27:40 +0000 Subject: [PATCH] Initialize new member of SOLARIS_ATTRIBUTE_TABLE * config/sol2.h (SOLARIS_ATTRIBUTE_TABLE): Initialize new member of struct attribute_spec. From-SVN: r255500 --- gcc/ChangeLog | 5 +++++ gcc/config/sol2.h | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 95aea7ac6c4..4112576523c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2017-12-08 Rainer Orth + + * config/sol2.h (SOLARIS_ATTRIBUTE_TABLE): Initialize new member + of struct attribute_spec. + 2017-12-08 Julia Koval * config/i386/avx512vnniintrin.h (_mm512_dpwssds_epi32, diff --git a/gcc/config/sol2.h b/gcc/config/sol2.h index 8174cebd104..69c713b875f 100644 --- a/gcc/config/sol2.h +++ b/gcc/config/sol2.h @@ -406,8 +406,8 @@ along with GCC; see the file COPYING3. If not see /* #pragma init and #pragma fini are implemented on top of init and fini attributes. */ #define SOLARIS_ATTRIBUTE_TABLE \ - { "init", 0, 0, true, false, false, NULL, false }, \ - { "fini", 0, 0, true, false, false, NULL, false } + { "init", 0, 0, true, false, false, NULL, false, NULL }, \ + { "fini", 0, 0, true, false, false, NULL, false, NULL } /* Solaris-specific #pragmas are implemented on top of attributes. Hook in the bits from config/sol2.c. */ -- 2.30.2