aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/gcc-interface/utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ada/gcc-interface/utils.c')
-rw-r--r--gcc/ada/gcc-interface/utils.c74
1 files changed, 37 insertions, 37 deletions
diff --git a/gcc/ada/gcc-interface/utils.c b/gcc/ada/gcc-interface/utils.c
index eae23d2..a094ac7 100644
--- a/gcc/ada/gcc-interface/utils.c
+++ b/gcc/ada/gcc-interface/utils.c
@@ -107,50 +107,50 @@ static tree fake_attribute_handler (tree *, tree, tree, int, bool *);
this minimal set of attributes to accommodate the needs of builtins. */
const struct attribute_spec gnat_internal_attribute_table[] =
{
- /* { name, min_len, max_len, decl_req, type_req, fn_type_req, handler,
- affects_type_identity, exclusions } */
- { "const", 0, 0, true, false, false, handle_const_attribute,
- false, NULL },
- { "nothrow", 0, 0, true, false, false, handle_nothrow_attribute,
- false, NULL },
- { "pure", 0, 0, true, false, false, handle_pure_attribute,
- false, NULL },
- { "no vops", 0, 0, true, false, false, handle_novops_attribute,
- false, NULL },
- { "nonnull", 0, -1, false, true, true, handle_nonnull_attribute,
- false, NULL },
- { "sentinel", 0, 1, false, true, true, handle_sentinel_attribute,
- false, NULL },
- { "noreturn", 0, 0, true, false, false, handle_noreturn_attribute,
- false, NULL },
- { "noinline", 0, 0, true, false, false, handle_noinline_attribute,
- false, NULL },
- { "noclone", 0, 0, true, false, false, handle_noclone_attribute,
- false, NULL },
- { "leaf", 0, 0, true, false, false, handle_leaf_attribute,
- false, NULL },
- { "always_inline",0, 0, true, false, false, handle_always_inline_attribute,
- false, NULL },
- { "malloc", 0, 0, true, false, false, handle_malloc_attribute,
- false, NULL },
- { "type generic", 0, 0, false, true, true, handle_type_generic_attribute,
- false, NULL },
-
- { "vector_size", 1, 1, false, true, false, handle_vector_size_attribute,
- false, NULL },
- { "vector_type", 0, 0, false, true, false, handle_vector_type_attribute,
- false, NULL },
- { "may_alias", 0, 0, false, true, false, NULL, false, NULL },
+ /* { name, min_len, max_len, decl_req, type_req, fn_type_req,
+ affects_type_identity, handler, exclude } */
+ { "const", 0, 0, true, false, false, false,
+ handle_const_attribute, NULL },
+ { "nothrow", 0, 0, true, false, false, false,
+ handle_nothrow_attribute, NULL },
+ { "pure", 0, 0, true, false, false, false,
+ handle_pure_attribute, NULL },
+ { "no vops", 0, 0, true, false, false, false,
+ handle_novops_attribute, NULL },
+ { "nonnull", 0, -1, false, true, true, false,
+ handle_nonnull_attribute, NULL },
+ { "sentinel", 0, 1, false, true, true, false,
+ handle_sentinel_attribute, NULL },
+ { "noreturn", 0, 0, true, false, false, false,
+ handle_noreturn_attribute, NULL },
+ { "noinline", 0, 0, true, false, false, false,
+ handle_noinline_attribute, NULL },
+ { "noclone", 0, 0, true, false, false, false,
+ handle_noclone_attribute, NULL },
+ { "leaf", 0, 0, true, false, false, false,
+ handle_leaf_attribute, NULL },
+ { "always_inline",0, 0, true, false, false, false,
+ handle_always_inline_attribute, NULL },
+ { "malloc", 0, 0, true, false, false, false,
+ handle_malloc_attribute, NULL },
+ { "type generic", 0, 0, false, true, true, false,
+ handle_type_generic_attribute, NULL },
+
+ { "vector_size", 1, 1, false, true, false, false,
+ handle_vector_size_attribute, NULL },
+ { "vector_type", 0, 0, false, true, false, false,
+ handle_vector_type_attribute, NULL },
+ { "may_alias", 0, 0, false, true, false, false, NULL, NULL },
/* ??? format and format_arg are heavy and not supported, which actually
prevents support for stdio builtins, which we however declare as part
of the common builtins.def contents. */
- { "format", 3, 3, false, true, true, fake_attribute_handler, false,
+ { "format", 3, 3, false, true, true, false, fake_attribute_handler,
NULL },
- { "format_arg", 1, 1, false, true, true, fake_attribute_handler, false,
+ { "format_arg", 1, 1, false, true, true, false, fake_attribute_handler,
NULL },
- { NULL, 0, 0, false, false, false, NULL, false, NULL }
+ { NULL, 0, 0, false, false, false, false, NULL, NULL }
};
/* Associates a GNAT tree node to a GCC tree node. It is used in