From d00a01e9ee688829183405a1dbc92191ce7eeacc Mon Sep 17 00:00:00 2001 From: Richard Guenther Date: Wed, 23 Jan 2008 10:38:21 +0000 Subject: [PATCH] backport: builtins.c (fold_builtin_classify): Fix typo. 2008-01-23 Richard Guenther Backport from mainline 2006-10-21 Richard Guenther * builtins.c (fold_builtin_classify): Fix typo. From-SVN: r131757 --- gcc/ChangeLog | 7 +++++++ gcc/builtins.c | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 860e8f5ace92..4d5341e13f8a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2008-01-23 Richard Guenther + + Backport from mainline + 2006-10-21 Richard Guenther + + * builtins.c (fold_builtin_classify): Fix typo. + 2008-01-22 Eric Botcazou PR rtl-optimization/34628 diff --git a/gcc/builtins.c b/gcc/builtins.c index 87867c6f51ba..d8d5756da2ea 100644 --- a/gcc/builtins.c +++ b/gcc/builtins.c @@ -8738,7 +8738,7 @@ fold_builtin_classify (tree fndecl, tree arglist, int builtin_index) case BUILT_IN_FINITE: if (!HONOR_NANS (TYPE_MODE (TREE_TYPE (arg))) && !HONOR_INFINITIES (TYPE_MODE (TREE_TYPE (arg)))) - return omit_one_operand (type, integer_zero_node, arg); + return omit_one_operand (type, integer_one_node, arg); if (TREE_CODE (arg) == REAL_CST) { -- 2.47.2