Optimization, volatile (was Re: volatile)

Stephen J. Friedl friedl at vsi.UUCP
Thu May 5 16:04:38 AEST 1988


Rahul Dhesi says:
< Rob McMahon says:
< <>
< <> It's been said before, but some people seem to have missed it ...
< <> how do you use #pragma to specify all of:
< <>
< <>	volatile int *p;
< 
< #pragma volatile int *p
< 
< <>	int *volatile p;
< 
< #pragma int *volatile p

What about:

	typedef struct xxx vector;

	......

	#pragma vector *volatile p;

Is there any chance that a vendor might want to reserve a couple
of #pragmas for other uses besides volatile declarations :-)?

-- 
Steve Friedl    V-Systems, Inc. (714) 545-6442    3B2-kind-of-guy
friedl at vsi.com    {backbones}!vsi.com!friedl   attmail!vsi!friedl



More information about the Comp.lang.c mailing list