This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Preserve volatileness, fix PR32721
On 7/13/07 9:02 AM, Richard Guenther wrote:
> volatile int *x;
>
> is a declaration of a pointer _to_ a volatile int. So
My confusion, then. I read that as a 'volatile pointer to an int'.
I thought that 'pointer to a volatile int' would be 'int * volatile x'
> *x
>
> is an access to a volatile int.
OK, if that's the case then I have no problems with the patch.
Thanks.