builtins.c (fold_builtin_classify): Fix typo.
authorRichard Guenther <rguenther@suse.de>
Sat, 21 Oct 2006 10:17:49 +0000 (10:17 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Sat, 21 Oct 2006 10:17:49 +0000 (10:17 +0000)
2006-10-21  Richard Guenther  <rguenther@suse.de>

        * builtins.c (fold_builtin_classify): Fix typo.

From-SVN: r117929

gcc/ChangeLog
gcc/builtins.c

index 09185e1420eb4aea862dab9d9dc8fcb65ed3169f..bbf20f922862e84e1399e93447fafec302114cac 100644 (file)
@@ -1,3 +1,7 @@
+2006-10-21  Richard Guenther  <rguenther@suse.de>
+
+       * builtins.c (fold_builtin_classify): Fix typo.
+
 2006-10-21  Richard Guenther  <rguenther@suse.de>
 
        PR middle-end/28796
index 0d28992d2c212d781ac2cf556057761b6d890783..711cf412317dbe8c37f43d74af0aa06957ec4f19 100644 (file)
@@ -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)
        {