From: Jakub Jelinek Date: Fri, 8 Dec 2017 11:55:23 +0000 (+0100) Subject: arc.c (arc_attribute_table): Add exclusions to the comment. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0123db8e39de9fdcb36e9a5ad26b3039474672bd;p=gcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index be06d7b0209..0bc97035a8e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,15 @@ +2017-12-08 Jakub Jelinek + + * 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 PR target/82960 diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index b43e50ab9ee..c676e7b877f 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,8 @@ +2017-12-08 Jakub Jelinek + + * gcc-interface/utils.c (gnat_internal_attribute_table): Add + exclusions to the comment. + 2017-12-07 Martin Sebor PR c/81544 diff --git a/gcc/ada/gcc-interface/utils.c b/gcc/ada/gcc-interface/utils.c index ddeeb0370ae..d1f80358502 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 3e8f44330da..86c70d86f28 100644 --- a/gcc/brig/ChangeLog +++ b/gcc/brig/ChangeLog @@ -1,3 +1,7 @@ +2017-12-08 Jakub Jelinek + + * brig-lang.c (brig_attribute_table): Fix up comment. + 2017-11-28 Jakub Jelinek * brigfrontend/brig-branch-inst-handler.cc diff --git a/gcc/brig/brig-lang.c b/gcc/brig/brig-lang.c index 2d9e8c06d12..eea36a3c453 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 aaefc300a9f..b8eec10086d 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 7b654a62086..fdae1469d41 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 d7dc2cded57..d20c86441c1 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 1ed9b170d43..abc2f618544 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 3d33f7caba8..038a01acb00 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 8c3702c148b..ba03c7a9961 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 58c8fe8ed1c..b9f6dcc9ded 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,