Richard Biener <richard.guent...@gmail.com> writes: > On Sat, Nov 16, 2013 at 2:03 PM, Richard Sandiford > <rdsandif...@googlemail.com> wrote: >> Add tree_to_shwi and tree_to_uhwi. Initially tree_to_uhwi returns a >> HOST_WIDE_INT, so that it's a direct replacement for tree_low_cst. >> Patch 10 makes it return unsigned HOST_WIDE_INT instead. > > Possibly same naming issue (though we already do have the weird > int_cst_value) - int_to_[us]hwi ()? > > OTOH if somebody else is fine with using tree_ for the four functions > then call it a day.
:-) I'm OK either way. It'd certainly be no problem to change the names. Thanks, Richard