diff options
Diffstat (limited to 'gcc/config/v850')
-rw-r--r-- | gcc/config/v850/v850.c | 32 |
1 files changed, 15 insertions, 17 deletions
diff --git a/gcc/config/v850/v850.c b/gcc/config/v850/v850.c index 3d0bbf5..a26f5d6 100644 --- a/gcc/config/v850/v850.c +++ b/gcc/config/v850/v850.c @@ -2072,8 +2072,7 @@ v850_set_data_area (tree decl, v850_data_area data_area) /* Handle an "interrupt" attribute; arguments as in struct attribute_spec.handler. */ static tree -v850_handle_interrupt_attribute (tree * node, - tree name, +v850_handle_interrupt_attribute (tree *node, tree name, tree args ATTRIBUTE_UNUSED, int flags ATTRIBUTE_UNUSED, bool * no_add_attrs) @@ -2091,8 +2090,7 @@ v850_handle_interrupt_attribute (tree * node, /* Handle a "sda", "tda" or "zda" attribute; arguments as in struct attribute_spec.handler. */ static tree -v850_handle_data_area_attribute (tree* node, - tree name, +v850_handle_data_area_attribute (tree *node, tree name, tree args ATTRIBUTE_UNUSED, int flags ATTRIBUTE_UNUSED, bool * no_add_attrs) @@ -3187,19 +3185,19 @@ v850_adjust_insn_length (rtx_insn *insn, int length) static const struct attribute_spec v850_attribute_table[] = { - /* { name, min_len, max_len, decl_req, type_req, fn_type_req, handler, - affects_type_identity, exclusions } */ - { "interrupt_handler", 0, 0, true, false, false, - v850_handle_interrupt_attribute, false, NULL }, - { "interrupt", 0, 0, true, false, false, - v850_handle_interrupt_attribute, false, NULL }, - { "sda", 0, 0, true, false, false, - v850_handle_data_area_attribute, false, NULL }, - { "tda", 0, 0, true, false, false, - v850_handle_data_area_attribute, false, NULL }, - { "zda", 0, 0, true, false, false, - v850_handle_data_area_attribute, false, NULL }, - { NULL, 0, 0, false, false, false, NULL, false, NULL } + /* { name, min_len, max_len, decl_req, type_req, fn_type_req, + affects_type_identity, handler, exclude } */ + { "interrupt_handler", 0, 0, true, false, false, false, + v850_handle_interrupt_attribute, NULL }, + { "interrupt", 0, 0, true, false, false, false, + v850_handle_interrupt_attribute, NULL }, + { "sda", 0, 0, true, false, false, false, + v850_handle_data_area_attribute, NULL }, + { "tda", 0, 0, true, false, false, false, + v850_handle_data_area_attribute, NULL }, + { "zda", 0, 0, true, false, false, false, + v850_handle_data_area_attribute, NULL }, + { NULL, 0, 0, false, false, false, false, NULL, NULL } }; static void |