Re: [wide-int 2/8] Fix ubsan internal-fn.c handling

2014-04-23 Thread Richard Biener
On Wed, Apr 23, 2014 at 3:29 PM, Richard Sandiford wrote: > Richard Sandiford writes: >> This code was mixing hprec and hprec*2 wide_ints. The simplest fix >> seemed to be to introduce a function that gives the minimum precision >> necessary to represent a function, which also means that no temp

Re: [wide-int 2/8] Fix ubsan internal-fn.c handling

2014-04-23 Thread Richard Sandiford
Richard Sandiford writes: > This code was mixing hprec and hprec*2 wide_ints. The simplest fix > seemed to be to introduce a function that gives the minimum precision > necessary to represent a function, which also means that no temporary > wide_ints are needed. > > Other places might be able to

[wide-int 2/8] Fix ubsan internal-fn.c handling

2014-04-22 Thread Richard Sandiford
This code was mixing hprec and hprec*2 wide_ints. The simplest fix seemed to be to introduce a function that gives the minimum precision necessary to represent a function, which also means that no temporary wide_ints are needed. Other places might be able to use this too, but I'd like to look at