diff options
author | Nicola Pero <nicola.pero@meta-innovation.com> | 2011-06-22 09:52:55 +0000 |
---|---|---|
committer | Nicola Pero <nicola@gcc.gnu.org> | 2011-06-22 09:52:55 +0000 |
commit | 70e41a6a27a6aad0abbe5598497b4b17ef3feb48 (patch) | |
tree | eb06d313c03be1290b9c63500235d5b1ba88492d /libgcc/enable-execute-stack-empty.c | |
parent | 637c11bd1659581b3bd137b8e479301cbd6ff2b3 (diff) | |
download | gcc-70e41a6a27a6aad0abbe5598497b4b17ef3feb48.zip gcc-70e41a6a27a6aad0abbe5598497b4b17ef3feb48.tar.gz gcc-70e41a6a27a6aad0abbe5598497b4b17ef3feb48.tar.bz2 |
In gcc/: 2011-06-21 Nicola Pero <nicola.pero@meta-innovation.com>
In gcc/:
2011-06-21 Nicola Pero <nicola.pero@meta-innovation.com>
* attribs.c (register_attribute): Added assert to check that all
attribute specs are registered with a name that is not empty and
does not start with '_'.
(decl_attributes): Avoid the lookup of the "naked" attribute spec
if the function has no attributes.
* tree.c (is_attribute_with_length_p): Removed.
(is_attribute_p): Removed.
(private_is_attribute_p): New.
(private_lookup_attribute): New.
(lookup_attribute): Removed.
(lookup_ident_attribute): New.
(remove_attribute): Require the first argument to be in the form
'text', not '__text__'. Updated asserts.
(merge_attributes): Use lookup_ident_attributes instead of
lookup_attribute.
(merge_dllimport_decl_attributes): Use remove_attribute.
(attribute_list_contained): Likewise.
(attribute_list_equal): Immediately return 1 if the arguments are
identical pointers.
* tree.h (is_attribute_p): Made inline. Return a 'bool', not an
'int'. Require the first argument to be in the form 'text', not
'__text__'. Require the second argument to be an identifier.
(lookup_attribute): Made inline. Require the first argument to be
in the form 'text', not '__text__'.
(private_is_attribute_p, private_lookup_attribute): New.
Updated comments.
From-SVN: r175286
Diffstat (limited to 'libgcc/enable-execute-stack-empty.c')
0 files changed, 0 insertions, 0 deletions