Re: Move min(max...) and max(min...) folds to match.pd

2015-10-26 Thread Richard Biener
On Mon, Oct 26, 2015 at 11:00 AM, Richard Sandiford wrote: > This handles both integer and floating-point arguments. It's needed > for the follow-on patch to move fmin and fmax to match.pd. > > Tested on x86_64-linux-gnu, aarch64-linux-gnu and arm-linux-gnueabi. > OK to install? Ok. Thanks, Ric

Move min(max...) and max(min...) folds to match.pd

2015-10-26 Thread Richard Sandiford
This handles both integer and floating-point arguments. It's needed for the follow-on patch to move fmin and fmax to match.pd. Tested on x86_64-linux-gnu, aarch64-linux-gnu and arm-linux-gnueabi. OK to install? Thanks, Richard gcc/ * fold-const.c (fold_minmax): Delete. (fold_bi