Difference between revisions of "GCC alwayszero function attribute"
Egmetcalfe (talk | contribs) (Created page with 'This is a temporary page for initial thoughts on the project. *[https://bugzilla.mozilla.org/show_bug.cgi?id=517370 Bug 517370 alwayszero function attribute for gcc] ==Attempt ...') |
Egmetcalfe (talk | contribs) |
||
Line 5: | Line 5: | ||
==Attempt at identifying attribute implementation== | ==Attempt at identifying attribute implementation== | ||
− | langhooks.h | + | langhooks.h (line 363) |
/* Pointers to machine-independent attribute tables, for front ends | /* Pointers to machine-independent attribute tables, for front ends | ||
using attribs.c. If one is NULL, it is ignored. Respectively, a | using attribs.c. If one is NULL, it is ignored. Respectively, a | ||
Line 14: | Line 14: | ||
const struct attribute_spec *common_attribute_table; | const struct attribute_spec *common_attribute_table; | ||
const struct attribute_spec *format_attribute_table; | const struct attribute_spec *format_attribute_table; | ||
+ | |||
+ | langhooks-def.h (line 261) | ||
+ | LANG_HOOKS_ATTRIBUTE_TABLE, \ | ||
+ | LANG_HOOKS_COMMON_ATTRIBUTE_TABLE, \ | ||
+ | LANG_HOOKS_FORMAT_ATTRIBUTE_TABLE, \ |
Revision as of 22:28, 24 September 2009
This is a temporary page for initial thoughts on the project.
Attempt at identifying attribute implementation
langhooks.h (line 363)
/* Pointers to machine-independent attribute tables, for front ends using attribs.c. If one is NULL, it is ignored. Respectively, a table of attributes specific to the language, a table of attributes common to two or more languages (to allow easy sharing), and a table of attributes for checking formats. */ const struct attribute_spec *attribute_table; const struct attribute_spec *common_attribute_table; const struct attribute_spec *format_attribute_table;
langhooks-def.h (line 261)
LANG_HOOKS_ATTRIBUTE_TABLE, \ LANG_HOOKS_COMMON_ATTRIBUTE_TABLE, \ LANG_HOOKS_FORMAT_ATTRIBUTE_TABLE, \