Re: [PATCH][Resend][tree-optimization] Fix PR58088

2013-09-17 Thread Richard Earnshaw
On 09/09/13 10:56, Kyrylo Tkachov wrote: > [Resending, since I was away and not pinging it] > > > Hi all, > > In PR58088 the constant folder goes into an infinite recursion and runs out of > stack space because of two conflicting optimisations: > (X * C1) & C2 plays dirty when nested inside an I

Re: [PATCH][Resend][tree-optimization] Fix PR58088

2013-09-16 Thread Kyrill Tkachov
Ping. On 09/09/13 10:56, Kyrylo Tkachov wrote: [Resending, since I was away and not pinging it] Hi all, In PR58088 the constant folder goes into an infinite recursion and runs out of stack space because of two conflicting optimisations: (X * C1) & C2 plays dirty when nested inside an IOR expr

[PATCH][Resend][tree-optimization] Fix PR58088

2013-09-09 Thread Kyrylo Tkachov
[Resending, since I was away and not pinging it] Hi all, In PR58088 the constant folder goes into an infinite recursion and runs out of stack space because of two conflicting optimisations: (X * C1) & C2 plays dirty when nested inside an IOR expression like so: ((X * C1) & C2) | C4. One can undo