aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2017-12-08 12:55:23 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2017-12-08 12:55:23 +0100
commit0123db8e39de9fdcb36e9a5ad26b3039474672bd (patch)
tree755a7f1b426a31326626f964778bceb9c20e31d6 /gcc
parentdeb8237f2800156b6dd9c5a38dc4098714eaac8a (diff)
downloadgcc-0123db8e39de9fdcb36e9a5ad26b3039474672bd.zip
gcc-0123db8e39de9fdcb36e9a5ad26b3039474672bd.tar.gz
gcc-0123db8e39de9fdcb36e9a5ad26b3039474672bd.tar.bz2
arc.c (arc_attribute_table): Add exclusions to the comment.
* config/arc/arc.c (arc_attribute_table): Add exclusions to the comment. * config/avr/avr.c (avr_attribute_table): Likewise. * config/msp430/msp430.c (msp430_attribute_table): Likewise. * config/rl78/rl78.c (rl78_attribute_table): Likewise. * config/nds32/nds32.c (nds32_attribute_table): Likewise. * config/darwin.h (SUBTARGET_ATTRIBUTE_TABLE): Initialize new member of struct attribute_spec. * config/i386/cygming.h (SUBTARGET_ATTRIBUTE_TABLE): Likewise. ada/ * gcc-interface/utils.c (gnat_internal_attribute_table): Add exclusions to the comment. brig/ * brig-lang.c (brig_attribute_table): Fix up comment. From-SVN: r255509
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog12
-rw-r--r--gcc/ada/ChangeLog5
-rw-r--r--gcc/ada/gcc-interface/utils.c2
-rw-r--r--gcc/brig/ChangeLog4
-rw-r--r--gcc/brig/brig-lang.c2
-rw-r--r--gcc/config/arc/arc.c2
-rw-r--r--gcc/config/avr/avr.c2
-rw-r--r--gcc/config/darwin.h6
-rw-r--r--gcc/config/i386/cygming.h4
-rw-r--r--gcc/config/msp430/msp430.c2
-rw-r--r--gcc/config/nds32/nds32.c3
-rw-r--r--gcc/config/rl78/rl78.c2
12 files changed, 34 insertions, 12 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index be06d7b..0bc9703 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,15 @@
+2017-12-08 Jakub Jelinek <jakub@redhat.com>
+
+ * config/arc/arc.c (arc_attribute_table): Add exclusions to
+ the comment.
+ * config/avr/avr.c (avr_attribute_table): Likewise.
+ * config/msp430/msp430.c (msp430_attribute_table): Likewise.
+ * config/rl78/rl78.c (rl78_attribute_table): Likewise.
+ * config/nds32/nds32.c (nds32_attribute_table): Likewise.
+ * config/darwin.h (SUBTARGET_ATTRIBUTE_TABLE): Initialize new member
+ of struct attribute_spec.
+ * config/i386/cygming.h (SUBTARGET_ATTRIBUTE_TABLE): Likewise.
+
2017-12-08 Ulrich Weigand <uweigand@de.ibm.com>
PR target/82960
diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog
index b43e50a..c676e7b 100644
--- a/gcc/ada/ChangeLog
+++ b/gcc/ada/ChangeLog
@@ -1,3 +1,8 @@
+2017-12-08 Jakub Jelinek <jakub@redhat.com>
+
+ * gcc-interface/utils.c (gnat_internal_attribute_table): Add
+ exclusions to the comment.
+
2017-12-07 Martin Sebor <msebor@redhat.com>
PR c/81544
diff --git a/gcc/ada/gcc-interface/utils.c b/gcc/ada/gcc-interface/utils.c
index ddeeb03..d1f8035 100644
--- a/gcc/ada/gcc-interface/utils.c
+++ b/gcc/ada/gcc-interface/utils.c
@@ -108,7 +108,7 @@ static tree fake_attribute_handler (tree *, tree, tree, int, bool *);
const struct attribute_spec gnat_internal_attribute_table[] =
{
/* { name, min_len, max_len, decl_req, type_req, fn_type_req, handler,
- affects_type_identity } */
+ affects_type_identity, exclusions } */
{ "const", 0, 0, true, false, false, handle_const_attribute,
false, NULL },
{ "nothrow", 0, 0, true, false, false, handle_nothrow_attribute,
diff --git a/gcc/brig/ChangeLog b/gcc/brig/ChangeLog
index 3e8f443..86c70d8 100644
--- a/gcc/brig/ChangeLog
+++ b/gcc/brig/ChangeLog
@@ -1,3 +1,7 @@
+2017-12-08 Jakub Jelinek <jakub@redhat.com>
+
+ * brig-lang.c (brig_attribute_table): Fix up comment.
+
2017-11-28 Jakub Jelinek <jakub@redhat.com>
* brigfrontend/brig-branch-inst-handler.cc
diff --git a/gcc/brig/brig-lang.c b/gcc/brig/brig-lang.c
index 2d9e8c0..eea36a3 100644
--- a/gcc/brig/brig-lang.c
+++ b/gcc/brig/brig-lang.c
@@ -448,7 +448,7 @@ brig_localize_identifier (const char *ident)
const struct attribute_spec brig_attribute_table[] =
{
/* { name, min_len, max_len, decl_req, type_req, fn_type_req, handler,
- do_diagnostic } */
+ affects_type_identity, exclusions } */
{ "leaf", 0, 0, true, false, false,
handle_leaf_attribute, false, NULL },
{ "const", 0, 0, true, false, false,
diff --git a/gcc/config/arc/arc.c b/gcc/config/arc/arc.c
index aaefc30..b8eec10 100644
--- a/gcc/config/arc/arc.c
+++ b/gcc/config/arc/arc.c
@@ -218,7 +218,7 @@ static tree arc_handle_fndecl_attribute (tree *, tree, tree, int, bool *);
const struct attribute_spec arc_attribute_table[] =
{
/* { name, min_len, max_len, decl_req, type_req, fn_type_req, handler,
- affects_type_identity } */
+ affects_type_identity, exclusions } */
{ "interrupt", 1, 1, true, false, false, arc_handle_interrupt_attribute,
true, NULL },
/* Function calls made to this symbol must be done indirectly, because
diff --git a/gcc/config/avr/avr.c b/gcc/config/avr/avr.c
index 7b654a6..fdae146 100644
--- a/gcc/config/avr/avr.c
+++ b/gcc/config/avr/avr.c
@@ -9875,7 +9875,7 @@ static const struct attribute_spec
avr_attribute_table[] =
{
/* { name, min_len, max_len, decl_req, type_req, fn_type_req, handler,
- affects_type_identity } */
+ affects_type_identity, exclusions } */
{ "progmem", 0, 0, false, false, false, avr_handle_progmem_attribute,
false, NULL },
{ "signal", 0, 0, true, false, false, avr_handle_fndecl_attribute,
diff --git a/gcc/config/darwin.h b/gcc/config/darwin.h
index d7dc2cd..d20c864 100644
--- a/gcc/config/darwin.h
+++ b/gcc/config/darwin.h
@@ -741,11 +741,11 @@ extern GTY(()) section * darwin_sections[NUM_DARWIN_SECTIONS];
/* Extra attributes for Darwin. */
#define SUBTARGET_ATTRIBUTE_TABLE \
/* { name, min_len, max_len, decl_req, type_req, fn_type_req, handler, \
- affects_type_identity } */ \
+ affects_type_identity, exclusions } */ \
{ "apple_kext_compatibility", 0, 0, false, true, false, \
- darwin_handle_kext_attribute, false }, \
+ darwin_handle_kext_attribute, false, NULL }, \
{ "weak_import", 0, 0, true, false, false, \
- darwin_handle_weak_import_attribute, false }
+ darwin_handle_weak_import_attribute, false, NULL }
/* Make local constant labels linker-visible, so that if one follows a
weak_global constant, ld64 will be able to separate the atoms. */
diff --git a/gcc/config/i386/cygming.h b/gcc/config/i386/cygming.h
index 1ed9b17..abc2f61 100644
--- a/gcc/config/i386/cygming.h
+++ b/gcc/config/i386/cygming.h
@@ -448,9 +448,9 @@ do { \
#define SUBTARGET_ATTRIBUTE_TABLE \
{ "selectany", 0, 0, true, false, false, ix86_handle_selectany_attribute, \
- false }
+ false, NULL }
/* { name, min_len, max_len, decl_req, type_req, fn_type_req, handler,
- affects_type_identity } */
+ affects_type_identity, exclusions } */
/* mcount() does not need a counter variable. */
#undef NO_PROFILE_COUNTERS
diff --git a/gcc/config/msp430/msp430.c b/gcc/config/msp430/msp430.c
index 3d33f7c..038a01a 100644
--- a/gcc/config/msp430/msp430.c
+++ b/gcc/config/msp430/msp430.c
@@ -2050,7 +2050,7 @@ msp430_data_attr (tree * node,
const struct attribute_spec msp430_attribute_table[] =
{
/* Name min_num_args type_req, affects_type_identity
- max_num_args, fn_type_req
+ max_num_args, fn_type_req exclusions
decl_req handler. */
{ ATTR_INTR, 0, 1, true, false, false, msp430_attr, false, NULL },
{ ATTR_NAKED, 0, 0, true, false, false, msp430_attr, false, NULL },
diff --git a/gcc/config/nds32/nds32.c b/gcc/config/nds32/nds32.c
index 8c3702c..ba03c7a 100644
--- a/gcc/config/nds32/nds32.c
+++ b/gcc/config/nds32/nds32.c
@@ -83,7 +83,8 @@ static const char * const nds32_intrinsic_register_names[] =
static const struct attribute_spec nds32_attribute_table[] =
{
/* Syntax: { name, min_len, max_len, decl_required, type_required,
- function_type_required, handler, affects_type_identity } */
+ function_type_required, handler, affects_type_identity,
+ exclusions } */
/* The interrupt vid: [0-63]+ (actual vector number starts from 9 to 72). */
{ "interrupt", 1, 64, false, false, false, NULL, false, NULL },
diff --git a/gcc/config/rl78/rl78.c b/gcc/config/rl78/rl78.c
index 58c8fe8..b9f6dcc 100644
--- a/gcc/config/rl78/rl78.c
+++ b/gcc/config/rl78/rl78.c
@@ -858,7 +858,7 @@ rl78_handle_saddr_attribute (tree * node,
const struct attribute_spec rl78_attribute_table[] =
{
/* Name, min_len, max_len, decl_req, type_req, fn_type_req, handler,
- affects_type_identity. */
+ affects_type_identity, exclusions. */
{ "interrupt", 0, 0, true, false, false, rl78_handle_func_attribute,
false, NULL },
{ "brk_interrupt", 0, 0, true, false, false, rl78_handle_func_attribute,