OSDN Git Service

2006-10-21 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 21 Oct 2006 10:17:49 +0000 (10:17 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 21 Oct 2006 10:17:49 +0000 (10:17 +0000)
        * builtins.c (fold_builtin_classify): Fix typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@117929 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/builtins.c

index 09185e1..bbf20f9 100644 (file)
@@ -1,5 +1,9 @@
 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
        * simplify-rtx.c (simplify_const_relational_operation):
        Do not constant-fold ORDERED and UNORDERED for
index 0d28992..711cf41 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)
        {