Re: Restrict keyword doesn't work correctly in GCC 4.4

2009-06-03 Thread Richard Guenther
On Wed, Jun 3, 2009 at 5:34 PM, Bingfeng Mei wrote: > Richard, > Thanks. I tried your patch and the -fno-tree-ter, and none works. The problem > is that > >       decl = find_base_decl (TREE_OPERAND (inner, 0));  <--- Cannot find the > base declaration, so decl = 0 > >       if (decl            

RE: Restrict keyword doesn't work correctly in GCC 4.4

2009-06-03 Thread Bingfeng Mei
inal Message- > From: Richard Guenther [mailto:richard.guent...@gmail.com] > Sent: 03 June 2009 15:10 > To: Bingfeng Mei > Cc: gcc@gcc.gnu.org > Subject: Re: Restrict keyword doesn't work correctly in GCC 4.4 > > On Wed, Jun 3, 2009 at 1:02 PM, Bingfeng Mei > w

Re: Restrict keyword doesn't work correctly in GCC 4.4

2009-06-03 Thread Richard Guenther
ter conversions. Richard. > > - Bingfeng > > >> -Original Message- >> From: Richard Guenther [mailto:richard.guent...@gmail.com] >> Sent: 03 June 2009 11:54 >> To: Bingfeng Mei >> Cc: gcc@gcc.gnu.org >> Subject: Re: Restrict keyword doesn't

RE: Restrict keyword doesn't work correctly in GCC 4.4

2009-06-03 Thread Bingfeng Mei
essage- > From: Richard Guenther [mailto:richard.guent...@gmail.com] > Sent: 03 June 2009 11:54 > To: Bingfeng Mei > Cc: gcc@gcc.gnu.org > Subject: Re: Restrict keyword doesn't work correctly in GCC 4.4 > > On Wed, Jun 3, 2009 at 12:41 PM, Bingfeng Mei > wrote

Re: Restrict keyword doesn't work correctly in GCC 4.4

2009-06-03 Thread Richard Guenther
On Wed, Jun 3, 2009 at 12:41 PM, Bingfeng Mei wrote: > Hello, > I noticed that the restrict doesn't work fully on 4.4.0 (used to work on >  our port based on 4.3 branch). The problem is that tree optimizer can do a > lot of optimization regarding pointer, e.g., at -O3. The alias set property > is

Restrict keyword doesn't work correctly in GCC 4.4

2009-06-03 Thread Bingfeng Mei
Hello, I noticed that the restrict doesn't work fully on 4.4.0 (used to work on our port based on 4.3 branch). The problem is that tree optimizer can do a lot of optimization regarding pointer, e.g., at -O3. The alias set property is not propagated accordingly. Is the following RTL expansion co