This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: restrict in c++?
- To: nbecker at fred dot net
- Subject: Re: restrict in c++?
- From: Nathan Sidwell <nathan at acm dot org>
- Date: Tue, 30 Nov 1999 16:01:36 +0000
- CC: gcc at gcc dot gnu dot org
- References: <x88so1ornbj.fsf@rpppc2.hns.com>
- Reply-To: nathan at compsci dot bristol dot ac dot uk
nbecker@fred.net wrote:
>
> I notice that egcs has __restrict__. Is this functionality available
> in c++ as well?
Yes. The development sources now understand the extension
struct X {
void fn () __restrict__;
}
and it is documented in extend.texi.
g++ 2.95 does not understand the above, but can use __restrict__ in
other places, just as gcc 2.95 can.
nathan
--
Dr Nathan Sidwell :: Computer Science Department :: Bristol University
Never hand someone a gun unless you are sure where they will point it
nathan@acm.org http://www.cs.bris.ac.uk/~nathan/ nathan@cs.bris.ac.uk