r229427 - in /trunk/gcc: ChangeLog builtins.c

rsandifo@gcc.gnu.org rsandifo@gcc.gnu.org
Tue Oct 27 11:54:00 GMT 2015


Author: rsandifo
Date: Tue Oct 27 11:54:51 2015
New Revision: 229427

URL: https://gcc.gnu.org/viewcvs?rev=229427&root=gcc&view=rev
Log:
Remove constant handling from fold_builtin_{,f}abs

fold_builtin_fabs and fold_builtin_abs had code to handle constant
arguments, but this simply duplicated what the following fold_build1_loc
would do for ABS_EXPR.

Tested on x86_64-linux-gnu, aarch64-linux-gnu and arm-linux-gnueabi.

gcc/
	* builtins.c (fold_builtin_fabs): Remove constant handling.
	(fold_builtin_abs): Likewise.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/builtins.c



More information about the Gcc-cvs mailing list