aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorAndrew Pinski <pinskia@physics.uc.edu>2004-04-19 06:32:25 -0700
committerAndrew Pinski <pinskia@gcc.gnu.org>2004-04-19 06:32:25 -0700
commit66a5d24b77dd59a8707ef45cbd47f23b3308ed7c (patch)
treecbc9de165d36b8362c260ffbc739cdb239710ba1 /gcc
parent4b493aa56261928b76e4ffb926268ef695c8df5d (diff)
downloadgcc-66a5d24b77dd59a8707ef45cbd47f23b3308ed7c.zip
gcc-66a5d24b77dd59a8707ef45cbd47f23b3308ed7c.tar.gz
gcc-66a5d24b77dd59a8707ef45cbd47f23b3308ed7c.tar.bz2
builtins.c (fold_builtin_cabs): Remove fndecl parameter.
* builtins.c (fold_builtin_cabs): Remove fndecl parameter. (fold_builtin): Update caller to match. From-SVN: r80850
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog3
-rw-r--r--gcc/builtins.c12
2 files changed, 9 insertions, 6 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 688d0c5..f8c60da 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,8 @@
2004-04-19 Andrew PInski <pinskia@physics.uc.edu>
+ * builtins.c (fold_builtin_cabs): Remove fndecl parameter.
+ (fold_builtin): Update caller to match.
+
PR bootstrap/15009
* bb-reorder.c (fix_up_fall_thru_edges): Init cond_jump.
diff --git a/gcc/builtins.c b/gcc/builtins.c
index 707a2cd..4ae1829 100644
--- a/gcc/builtins.c
+++ b/gcc/builtins.c
@@ -146,7 +146,7 @@ static bool readonly_data_expr (tree);
static rtx expand_builtin_fabs (tree, rtx, rtx);
static rtx expand_builtin_cabs (tree, rtx);
static rtx expand_builtin_signbit (tree, rtx);
-static tree fold_builtin_cabs (tree, tree, tree);
+static tree fold_builtin_cabs (tree, tree);
static tree fold_builtin_trunc (tree);
static tree fold_builtin_floor (tree);
static tree fold_builtin_ceil (tree);
@@ -5939,12 +5939,12 @@ fold_trunc_transparent_mathfn (tree exp)
return 0;
}
-/* Fold function call to builtin cabs, cabsf or cabsl. FNDECL is the
- function's DECL, ARGLIST is the argument list and TYPE is the return
- type. Return NULL_TREE if no simplification can be made. */
+/* Fold function call to builtin cabs, cabsf or cabsl. ARGLIST
+ is the argument list and TYPE is the return type. Return
+ NULL_TREE if no if no simplification can be made. */
static tree
-fold_builtin_cabs (tree fndecl ATTRIBUTE_UNUSED, tree arglist, tree type)
+fold_builtin_cabs (tree arglist, tree type)
{
tree arg;
@@ -6849,7 +6849,7 @@ fold_builtin (tree exp)
case BUILT_IN_CABS:
case BUILT_IN_CABSF:
case BUILT_IN_CABSL:
- return fold_builtin_cabs (fndecl, arglist, type);
+ return fold_builtin_cabs (arglist, type);
case BUILT_IN_SQRT:
case BUILT_IN_SQRTF: