[wide-int] Avoid some unnecessary wide_int temporaries

2013-11-09 Thread Richard Sandiford
Avoid some unnecessary wide_int (x)s and make more use of wi::. (In the cp/decl.c case the wi:: avoids using HWIs rather than avoiding a wide_int temporary.) As far as the first hunk goes, the trunk code is: unsigned HOST_WIDE_INT bytes; ... if (TREE_CODE (ptr) == ADDR_EXPR) {

Re: [wide-int] Avoid some unnecessary wide_int temporaries

2013-11-09 Thread Kenneth Zadeck
On 11/09/2013 05:28 AM, Richard Sandiford wrote: Avoid some unnecessary wide_int (x)s and make more use of wi::. (In the cp/decl.c case the wi:: avoids using HWIs rather than avoiding a wide_int temporary.) As far as the first hunk goes, the trunk code is: unsigned HOST_WIDE_INT bytes;

Re: [wide-int] Avoid some unnecessary wide_int temporaries

2013-11-09 Thread Mike Stump
On Nov 9, 2013, at 2:28 AM, Richard Sandiford rdsandif...@googlemail.com wrote: Avoid some unnecessary wide_int (x)s and make more use of wi::. OK to install? Nice. Ok.