This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
And if we're going to start factoring NULL tests out of functions to avoid function call overhead, the the right way to do that is:
bool predicate_f (tree);
#define predicate(T) ((T) ? predicate_f ((T)) : false)
or the equivalent version with an inline function.
OK to commit ? Thank you, -Devang
* tree.h (nreverse_fn): Rename nreverse () as nreverse_fn (). (nreverse): #define to call nreverse_fn (). * tree.c (nreverse_fn): Rename nreverse () as nreverse_fn ().
Attachment:
nreverse.diff
Description: Binary data
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |