This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: `__norestrict' type qualifier
- To: Richard Henderson <rth at cygnus dot com>
- Subject: Re: PATCH: `__norestrict' type qualifier
- From: Artur Skawina <skawina at geocities dot com>
- Date: Mon, 19 Jul 1999 00:41:47 +0200
- CC: "Patrick J. LoPresti" <patl at cag dot lcs dot mit dot edu>,egcs at egcs dot cygnus dot com, torvalds at transmeta dot com
- References: <s5gyagfjcx5.fsf@snidely.curl.com> <19990718125116.A5392@cygnus.com>
> > *(unsigned int *__norestrict)p ^= ~0;
> a `double * restrict __norestrict foo'? I don't think so.
>
> A more accurate name is `__typealias'.
this would be an experimental extension - why not using the
existing attribute framework? ie
double * restrict __attribute__ ((mayalias)) foo = bar;
just like you currently can
double * restrict __attribute__ ((aligned(8))) foo = bar;
then #define __myfavouritequalifier __attribute__ ((mayalias))
depending on compiler version.