Re: [PATCH] Fix PR54245

2012-08-15 Thread Richard Guenther
On Tue, 14 Aug 2012, William J. Schmidt wrote: > Currently we can insert an initializer that performs a multiply in too > small of a type for correctness. For now, detect the problem and avoid > the optimization when this would happen. Eventually I will fix this up > to cause the multiply to be

[PATCH] Fix PR54245

2012-08-14 Thread William J. Schmidt
Currently we can insert an initializer that performs a multiply in too small of a type for correctness. For now, detect the problem and avoid the optimization when this would happen. Eventually I will fix this up to cause the multiply to be performed in a sufficiently wide type. Bootstrapped and