Re: [patch tree-optimization]: Fix regression about vrp47.c (and co)

2011-07-31 Thread Richard Guenther
On Sun, Jul 31, 2011 at 5:00 AM, NightStrike wrote: > Ping This patch is obsolete IIRC, a new version was posted. Richard. > On Thu, Jul 21, 2011 at 9:20 AM, Kai Tietz wrote: >> Hello, >> >> this patch adds the ability for bitwise-truth operations to sink into >> use-statement, if it is a cast

Re: [patch tree-optimization]: Fix regression about vrp47.c (and co)

2011-07-30 Thread NightStrike
Ping On Thu, Jul 21, 2011 at 9:20 AM, Kai Tietz wrote: > Hello, > > this patch adds the ability for bitwise-truth operations to sink into > use-statement, if it is a cast, if type of it is compatible. > > By this we can sink cases like > > _Bool D1, D2, D3; > int R, x, y; > > D1 = (bool) x; > D2

[patch tree-optimization]: Fix regression about vrp47.c (and co)

2011-07-21 Thread Kai Tietz
Hello, this patch adds the ability for bitwise-truth operations to sink into use-statement, if it is a cast, if type of it is compatible. By this we can sink cases like _Bool D1, D2, D3; int R, x, y; D1 = (bool) x; D2 = (bool) y; D3 = D1 & D2 R = (int) D3; into R-statment as R = x & y; This f