[wide-int] Make more use of const references

2013-11-09 Thread Richard Sandiford
Some cases where we could use const references instead of passing by value. Tested on powerpc64-linux-gnu and by rerunning the assembly comparison. OK to install? Thanks, Richard Index: gcc/fold-const.c === --- gcc/fold-const.c

Re: [wide-int] Make more use of const references

2013-11-09 Thread Kenneth Zadeck
looks good to me. On 11/09/2013 05:17 AM, Richard Sandiford wrote: Some cases where we could use const references instead of passing by value. Tested on powerpc64-linux-gnu and by rerunning the assembly comparison. OK to install? Thanks, Richard Index: gcc/fold-const.c

Re: [wide-int] Make more use of const references

2013-11-09 Thread Mike Stump
On Nov 9, 2013, at 2:17 AM, Richard Sandiford rdsandif...@googlemail.com wrote: Some cases where we could use const references instead of passing by value. OK to install? Ok.