Re: [wide-int 4/8] Tweak uses of new API

2014-04-23 Thread Richard Biener
On Tue, Apr 22, 2014 at 9:55 PM, Richard Sandiford wrote: > This is an assorted bunch of API tweaks: > > - use neg_p instead of lts_p (..., 0) > - use STATIC_ASSERT for things that are known at compile time > - avoid unnecessary wide(st)_int temporaries and arithmetic > - remove an unnecessary tem

[wide-int 4/8] Tweak uses of new API

2014-04-22 Thread Richard Sandiford
This is an assorted bunch of API tweaks: - use neg_p instead of lts_p (..., 0) - use STATIC_ASSERT for things that are known at compile time - avoid unnecessary wide(st)_int temporaries and arithmetic - remove an unnecessary template parameter - use to_short_addr for an offset_int->HOST_WIDE_INT o