+2005-08-16 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
+
+ * fold-const.c (fold_ternary): Simplify folding of a CALL_EXPR.
+
2005-08-16 Geoffrey Keating <geoffk@apple.com>
* doc/invoke.texi (Precompiled Headers): Document some more options
if (TREE_CODE (op0) == ADDR_EXPR
&& TREE_CODE (TREE_OPERAND (op0, 0)) == FUNCTION_DECL
&& DECL_BUILT_IN (TREE_OPERAND (op0, 0)))
- {
- tree fndecl = TREE_OPERAND (op0, 0);
- tree arglist = op1;
- tree tmp = fold_builtin (fndecl, arglist, false);
- if (tmp)
- return tmp;
- }
+ return fold_builtin (TREE_OPERAND (op0, 0), op1, false);
return NULL_TREE;
case BIT_FIELD_REF: