Re: [patch] Fix PR tree-optimization/49471

2011-07-31 Thread Zdenek Dvorak
Hi, > >> It'll collide with Sebastians patch in that area.  I suggested a > >> INTEGRAL_TYPE_P check instead of the simple_iv one, it > >> should be cheaper.  Zdenek, do you think it will be "incorrect" > >> in some cases? > > > > well, it does not make much sense -- reductions of integral type wo

Re: [patch] Fix PR tree-optimization/49471

2011-07-31 Thread Richard Guenther
2011/7/30 Zdenek Dvorak : > Hi, > >> > This patch fixes the build failure of cactusADM and dealII spec2006 >> > benchmarks when autopar is enabled. >> > (for powerpc they fail only when -m32 is additionally enabled) >> > >> > The problem originated in canonicalize_loop_ivs, where we iterate the >>

Re: [patch] Fix PR tree-optimization/49471

2011-07-30 Thread Zdenek Dvorak
Hi, > > This patch fixes the build failure of cactusADM and dealII spec2006 > > benchmarks when autopar is enabled. > > (for powerpc they fail only when -m32 is additionally enabled) > > > > The problem originated in canonicalize_loop_ivs, where we iterate the > > header's phis in order to base al

Re: [patch] Fix PR tree-optimization/49471

2011-07-27 Thread Richard Guenther
On Tue, Jul 26, 2011 at 8:07 PM, Sebastian Pop wrote: > On Tue, Jul 26, 2011 at 08:30, Richard Guenther > wrote: >> I suppose we also need to allow POINTER_TYPE_P here (but then >> treat it like an unsigned variable of the same width). > > Updated patch.  Ok for trunk after regstrap? + uns

Re: [patch] Fix PR tree-optimization/49471

2011-07-26 Thread Sebastian Pop
On Tue, Jul 26, 2011 at 08:30, Richard Guenther wrote: > I suppose we also need to allow POINTER_TYPE_P here (but then > treat it like an unsigned variable of the same width). Updated patch. Ok for trunk after regstrap? Thanks, Sebastian From 3e8f8cfd0c4298b6b5e88c8bc7ba81a01e7cd815 Mon Sep 17

Re: [patch] Fix PR tree-optimization/49471

2011-07-26 Thread Richard Guenther
07/2011 05:54 PM >> Subject: Re: [patch] Fix PR tree-optimization/49471 >> >> On Mon, Jul 25, 2011 at 4:47 PM, Razya Ladelsky > wrote: >> > Hi, >> > >> > This patch fixes the build failure of cactusADM and dealII spec2006 >> > benchm

Re: [patch] Fix PR tree-optimization/49471

2011-07-26 Thread Razya Ladelsky
Richard Guenther wrote on 25/07/2011 05:54:28 PM: > From: Richard Guenther > To: Razya Ladelsky/Haifa/IBM@IBMIL > Cc: gcc-patches@gcc.gnu.org, Zdenek Dvorak > , Sebastian Pop > Date: 25/07/2011 05:54 PM > Subject: Re: [patch] Fix PR tree-optimization/49471 > > On M

Re: [patch] Fix PR tree-optimization/49471

2011-07-25 Thread Razya Ladelsky
Razya Ladelsky/Haifa/IBM wrote on 25/07/2011 05:44:02 PM: > From: Razya Ladelsky/Haifa/IBM > To: gcc-patches@gcc.gnu.org > Cc: Zdenek Dvorak , Richard Guenther > > Date: 25/07/2011 05:44 PM > Subject: [patch] Fix PR tree-optimization/49471 > > Hi, > > This pa

Re: [patch] Fix PR tree-optimization/49471

2011-07-25 Thread Richard Guenther
On Mon, Jul 25, 2011 at 4:47 PM, Razya Ladelsky wrote: > Hi, > > This patch fixes the build failure of cactusADM and dealII spec2006 > benchmarks when autopar is enabled. > (for powerpc they fail only when -m32 is additionally enabled) > > The problem originated in canonicalize_loop_ivs, where we

[patch] Fix PR tree-optimization/49471

2011-07-25 Thread Razya Ladelsky
Hi, This patch fixes the build failure of cactusADM and dealII spec2006 benchmarks when autopar is enabled. (for powerpc they fail only when -m32 is additionally enabled) The problem originated in canonicalize_loop_ivs, where we iterate the header's phis in order to base all the induction varia