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] |
On Fri, 2009-04-17 at 09:58 -0700, Chris Lattner wrote:
Out of curiosity, what is the motivation for making these actual keywords? Clang has support for address spaces as well, and clients that use them just install a predefine that expands to an attribute. For example, cellspu could install:
#define __ea __attribute__((address_space(1))) Which enables, stuff like:
int __ea *P;
Won't the attribute apply to the whole type? We want to be able to have
a multiplicity of types like:
int __ea *p; int * __ea p;
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |