diff options
Diffstat (limited to 'gcc/fold-const.c')
-rw-r--r-- | gcc/fold-const.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/gcc/fold-const.c b/gcc/fold-const.c index 84dad8b..1ce20b9 100644 --- a/gcc/fold-const.c +++ b/gcc/fold-const.c @@ -10115,13 +10115,7 @@ fold_ternary (enum tree_code code, tree type, tree op0, tree op1, tree op2) 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: |