This is the mail archive of the gcc@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]

Re: restrict in c++?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]