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 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, \
== Project Name ==
GCC alwayszero function attribute
== Project Description ==
This project involves extending gcc to support an alwayszero function attribute (see [https://bugzilla.mozilla.org/show_bug.cgi?id=517370 Bug #517370] for an overview). Essentially, a call to an alwayszero function foo in such contexts as if (foo != 0) or while (foo != 0) should completely ignore the test automatically branch to the next statement, ignoring the unneccessary check.
== Project Leader(s) ==
[[Egmetcalfe Ehren Metcalfe]]
== Project Contributor(s) ==
Name(s) of people casually working on the project, or who have contributed significant help. Include links to personal pages within wiki
NOTE: only Project Leader(s) should add names here. You '''can’t''' add your own name to the Contributor list.
== Project Details ==
Provides more depth than the Project Description. This is the place for technical discussions, project specs, or other details. If this gets very long, you might consider breaking this part into multiple pages and linking to them.pr
== Project News ==