Re: [PATCH] Fix pr50717: widening multiply bad code

2011-10-18 Thread Andrew Stubbs
On 17/10/11 11:43, Richard Guenther wrote: Ok. Committed, thanks. Andrew

Re: [PATCH] Fix pr50717: widening multiply bad code

2011-10-17 Thread Richard Guenther
On Sat, Oct 15, 2011 at 11:27 PM, Andrew Stubbs wrote: > This patch fixes a bug in which the widening multiply-and-accumulate > optimization failed to take the intermediate types into account. > > The effect of this is that the compiler would do what the programmer > expected to happen, rather tha

[PATCH] Fix pr50717: widening multiply bad code

2011-10-15 Thread Andrew Stubbs
This patch fixes a bug in which the widening multiply-and-accumulate optimization failed to take the intermediate types into account. The effect of this is that the compiler would do what the programmer expected to happen, rather than what the C standard requires to happen (in many cases), so