Difference between revisions of "GCC alwayszero function attribute"

From CDOT Wiki
Jump to: navigation, search
Line 5: Line 5:
 
== 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 and automatically branch to the next statement upon return of the function, ignoring the check.
+
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 and automatically branch to the next statement upon return of the function.
  
 
== Project Leader(s) ==
 
== Project Leader(s) ==
Line 15: Line 15:
  
 
== Project Details ==
 
== Project Details ==
 
More to come.
 
  
 
Relevant blog posts:
 
Relevant blog posts:

Revision as of 22:43, 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 and automatically branch to the next statement upon return of the function.

Project Leader(s)

Ehren Metcalfe

Project Contributor(s)

Project Details

Relevant blog posts:

Building GCC from trunk

Project News