Re: Query regarding volatiles and store CCP.

2007-07-10 Thread Ramana Radhakrishnan
Hi Richard, On 7/10/07, Richard Guenther <[EMAIL PROTECTED]> wrote: On 7/10/07, Ramana Radhakrishnan <[EMAIL PROTECTED]> wrote: > Hi, > > While upgrading a port of mine to trunk for a testcase I noticed the > following . Its more of a question for a language lawyer I guess. > > The test looks

Re: Query regarding volatiles and store CCP.

2007-07-10 Thread Richard Guenther
On 7/10/07, Ramana Radhakrishnan <[EMAIL PROTECTED]> wrote: Hi, While upgrading a port of mine to trunk for a testcase I noticed the following . Its more of a question for a language lawyer I guess. The test looks like this. int spinlock[2]; void foo (void) { volatile int * spinlock0; while

Query regarding volatiles and store CCP.

2007-07-10 Thread Ramana Radhakrishnan
Hi, While upgrading a port of mine to trunk for a testcase I noticed the following . Its more of a question for a language lawyer I guess. The test looks like this. int spinlock[2]; void foo (void) { volatile int * spinlock0; while (*spinlock0 == 0) { /* do nothing */ } } Store CCP folds awa