From: Richard Guenther Date: Sat, 21 Oct 2006 10:17:49 +0000 (+0000) Subject: builtins.c (fold_builtin_classify): Fix typo. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=120a56cb6790478018765a520376d2f304bdb74c;p=gcc.git builtins.c (fold_builtin_classify): Fix typo. 2006-10-21 Richard Guenther * builtins.c (fold_builtin_classify): Fix typo. From-SVN: r117929 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 09185e1420e..bbf20f92286 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2006-10-21 Richard Guenther + + * builtins.c (fold_builtin_classify): Fix typo. + 2006-10-21 Richard Guenther PR middle-end/28796 diff --git a/gcc/builtins.c b/gcc/builtins.c index 0d28992d2c2..711cf412317 100644 --- a/gcc/builtins.c +++ b/gcc/builtins.c @@ -8719,7 +8719,7 @@ fold_builtin_classify (tree fndecl, tree arglist, int builtin_index) case BUILT_IN_FINITE: if (!MODE_HAS_NANS (TYPE_MODE (TREE_TYPE (arg))) && !MODE_HAS_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) {