Re: Compare precisions with precisions in fold-const

2012-04-11 Thread Mike Stump
On Apr 11, 2012, at 6:59 AM, Bernd Schmidt wrote: > This is another problem I found working on a new target. In fold-const, > when folding conversions, there are two instances where mode bitsizes > are compared to type precisions. This fails to do the right thing if > mode precision and bitsize dif

Re: Compare precisions with precisions in fold-const

2012-04-11 Thread Richard Guenther
On Wed, Apr 11, 2012 at 3:59 PM, Bernd Schmidt wrote: > This is another problem I found working on a new target. In fold-const, > when folding conversions, there are two instances where mode bitsizes > are compared to type precisions. This fails to do the right thing if > mode precision and bitsiz

Compare precisions with precisions in fold-const

2012-04-11 Thread Bernd Schmidt
This is another problem I found working on a new target. In fold-const, when folding conversions, there are two instances where mode bitsizes are compared to type precisions. This fails to do the right thing if mode precision and bitsize differ (which I believe they currently don't on any target).