r218311 - in /trunk/gcc: ChangeLog builtins.c c...
rguenth@gcc.gnu.org
rguenth@gcc.gnu.org
Wed Dec 3 13:10:00 GMT 2014
Author: rguenth
Date: Wed Dec 3 13:10:39 2014
New Revision: 218311
URL: https://gcc.gnu.org/viewcvs?rev=218311&root=gcc&view=rev
Log:
2014-12-03 Richard Biener <rguenther@suse.de>
* builtins.c (fold_builtin_fpclassify): Change to take
array of arguments instead of CALL_EXPR tree.
(MAX_ARGS_TO_FOLD_BUILTIN): Remove.
(fold_builtin_n): Dispatch to fold_builtin_varargs.
(fold_call_expr): Always use fold_builtin_n.
(fold_builtin_call_array): Change to not build the unfolded call,
always use fold_builtin_n.
(fold_builtin_varargs): Change to take array of arguments instead
of CALL_EXPR tree.
(fold_call_stmt): Always use fold_builtin_n.
* tree.c (build_call_expr_loc_array): Use fold_build_call_array_loc.
* fold-const.c (fold_build_call_array_loc): Build the call
if fold_builtin_call_array returned NULL_TREE.
* gimple-fold.c (gimple_fold_stmt_to_constant_1): Do not build
a CALL_EXPR and use fold_builtin_call_array instead of
fold_call_expr.
cp/
* constexpr.c (cxx_eval_builtin_function_call): Use
fold_build_call_array_loc.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/builtins.c
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/constexpr.c
trunk/gcc/fold-const.c
trunk/gcc/gimple-fold.c
trunk/gcc/tree.c
More information about the Gcc-cvs
mailing list