summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>2017-12-08 09:27:40 +0000
committerro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>2017-12-08 09:27:40 +0000
commitd5afe608bde3db856d7659a38e1200cd250588aa (patch)
treecea8e01c5032796137696668c36d9f09c7a0a091
parente057b62ad75eadbb37c2f9fd6e75f4e183967648 (diff)
downloadgcc-d5afe608bde3db856d7659a38e1200cd250588aa.tar.gz
Initialize new member of SOLARIS_ATTRIBUTE_TABLE
* config/sol2.h (SOLARIS_ATTRIBUTE_TABLE): Initialize new member of struct attribute_spec. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@255500 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/sol2.h4
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 <ro@CeBiTec.Uni-Bielefeld.DE>
+
+ * config/sol2.h (SOLARIS_ATTRIBUTE_TABLE): Initialize new member
+ of struct attribute_spec.
+
2017-12-08 Julia Koval <julia.koval@intel.com>
* 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. */