Move constant bitop and bswap folds to fold-const-call.c

2015-11-06 Thread Richard Sandiford
The only folds left in builtins.c were for constants, so we can remove the builtins.c handling entirely. Tested on x86_64-linux-gnu, aarch64-linux-gnu and arm-linux-gnueabi. OK to install? Thanks, Richard gcc/ * builtins.c (fold_builtin_bitop, fold_builtin_bswap): Delete.

Re: Move constant bitop and bswap folds to fold-const-call.c

2015-11-06 Thread Richard Biener
On November 6, 2015 4:12:56 PM GMT+01:00, Richard Sandiford wrote: >The only folds left in builtins.c were for constants, so we can remove >the builtins.c handling entirely. > >Tested on x86_64-linux-gnu, aarch64-linux-gnu and arm-linux-gnueabi. >OK to install? OK.