Does GCC really recognize __attribute__ ((bitwise))?

Eus eus@member.fsf.org
Thu Mar 27 12:17:00 GMT 2008


Hi Ho!

When browsing the Linux kernel 2.6.21.5's source code, I noticed a variable
definition like:

typedef __u64 __bitwise __be64;

Being curious about __bitwise, I found it out to be:

#define __bitwise __bitwise__

that finally turned out to be:

#define __bitwise__ __attribute__((bitwise))

Since it was __attribute__, I tried to find its documentation in GCC texinfo
file. But, I couldn't find one. Even I have tried to find it out in the Internet.
But, I still couldn't find one.

Is it a custom defined attribute? If it is, is the way to do such thing
documented in GCC texinfo? If it is not, why does it not described in GCC texinfo
file?

Thank you very much.

Best regards,
Eus (FSF member #4445)

In this digital era, where computing technology is pervasive, your freedom depends on the software controlling those computing devices.

Join free software movement today!
It is free as in freedom, _NOT_ as in free beer!
Use the following link to join:
http://www.fsf.org/register_form?referrer=4445

For more information, visit the following links:
- Free Software, Free Society
http://www.gnu.org/philosophy/fsfs/rms-essays.pdf
- The GNU Project
http://gnu.org
- The Free Software Foundation
http://fsf.org


      ____________________________________________________________________________________
Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  http://tools.search.yahoo.com/newsearch/category.php?category=shopping



More information about the Gcc-help mailing list