Difference between revisions of "GCC alwayszero function attribute"

From CDOT Wiki
Jump to: navigation, search
Line 1: Line 1:
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 ==
 
== Project Name ==
  
GCC alwayszero function attribute
+
GCC alwayszero function attribute  
  
 
== Project Description ==
 
== 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) ==
 
== Project Leader(s) ==
  
[[Egmetcalfe Ehren Metcalfe]]
+
[[Egmetcalfe]]
  
 
== Project Contributor(s) ==
 
== 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 ==
 
== 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.
+
This pr
  
 
== Project News ==
 
== Project News ==

Revision as of 21:01, 27 September 2009

Project Name

GCC alwayszero function attribute

Project Description

This project involves extending gcc to support an alwayszero function attribute (see 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

Project Contributor(s)

Project Details

This pr

Project News

This is where your regular updates will go. In these you should discuss the status or your work, your interactions with other members of the community (e.g., Seneca and Mozilla), problems you have encountered, etc.

Put detailed technical information into the Project Details page (i.e., update it as you go), and save this section for news about participation in the project.