Re: Revisit of pr38212 regarding restrict definition

2010-11-30 Thread Richard Guenther
On Tue, Nov 30, 2010 at 3:29 PM, Bingfeng Mei wrote: > > >> -Original Message- >> From: Richard Guenther [mailto:richard.guent...@gmail.com] >> Sent: 30 November 2010 13:53 >> To: Bingfeng Mei >> Cc: gcc@gcc.gnu.org >> Subject: Re: Revisit of pr38

RE: Revisit of pr38212 regarding restrict definition

2010-11-30 Thread Bingfeng Mei
> -Original Message- > From: Richard Guenther [mailto:richard.guent...@gmail.com] > Sent: 30 November 2010 13:53 > To: Bingfeng Mei > Cc: gcc@gcc.gnu.org > Subject: Re: Revisit of pr38212 regarding restrict definition > > On Tue, Nov 30, 2010 at 2:07 PM, Bin

Re: Revisit of pr38212 regarding restrict definition

2010-11-30 Thread Richard Guenther
On Tue, Nov 30, 2010 at 2:07 PM, Bingfeng Mei wrote: > Hi, > I am working on how to improve "restrict". I noticed > that my changes lead to failure of pr38212. After looking > at its code, I think the test may not be valid according > to c99 standard. > > C99 standard 6.7.3.1: > > EXAMPLE 4 The ru

Revisit of pr38212 regarding restrict definition

2010-11-30 Thread Bingfeng Mei
Hi, I am working on how to improve "restrict". I noticed that my changes lead to failure of pr38212. After looking at its code, I think the test may not be valid according to c99 standard. C99 standard 6.7.3.1: EXAMPLE 4 The rule limiting assignments between restricted pointers does not distin