diff options
Diffstat (limited to 'gcc/tree.h')
-rw-r--r-- | gcc/tree.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/gcc/tree.h b/gcc/tree.h index d4306a88eda..efa0b83c684 100644 --- a/gcc/tree.h +++ b/gcc/tree.h @@ -2140,7 +2140,11 @@ enum attribute_flags ATTR_FLAG_ARRAY_NEXT = 4, /* The type passed in is a structure, union or enumeration type being created, and should be modified in place. */ - ATTR_FLAG_TYPE_IN_PLACE = 8 + ATTR_FLAG_TYPE_IN_PLACE = 8, + /* The attributes are being applied by default to a library function whose + name indicates known behavior, and should be silently ignored if they + are not in fact compatible with the function type. */ + ATTR_FLAG_BUILT_IN = 16 }; /* Default versions of target-overridable functions. */ @@ -2920,6 +2924,13 @@ extern int setjmp_call_p PARAMS ((tree)); a decl attribute to the declaration rather than to its type). */ extern tree decl_attributes PARAMS ((tree *, tree, int)); +/* The following function must be provided by front ends + using attribs.c. */ + +/* Possibly apply default attributes to a function (represented by + a FUNCTION_DECL). */ +extern void insert_default_attributes PARAMS ((tree)); + /* Table of machine-independent attributes for checking formats, if used. */ extern const struct attribute_spec *format_attribute_table; |