]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
backport: builtins.c (fold_builtin_classify): Fix typo.
authorRichard Guenther <rguenther@suse.de>
Wed, 23 Jan 2008 10:38:21 +0000 (10:38 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 23 Jan 2008 10:38:21 +0000 (10:38 +0000)
2008-01-23  Richard Guenther  <rguenther@suse.de>

        Backport from mainline
        2006-10-21  Richard Guenther  <rguenther@suse.de>

        * builtins.c (fold_builtin_classify): Fix typo.

From-SVN: r131757

gcc/ChangeLog
gcc/builtins.c

index 860e8f5ace92dc0a1fe7d47fd53d6c9b58a18ada..4d5341e13f8a4bc4718a04c31002a6940f3757d0 100644 (file)
@@ -1,3 +1,10 @@
+2008-01-23  Richard Guenther  <rguenther@suse.de>
+
+       Backport from mainline
+       2006-10-21  Richard Guenther  <rguenther@suse.de>
+
+       * builtins.c (fold_builtin_classify): Fix typo.
+
 2008-01-22  Eric Botcazou  <ebotcazou@adacore.com>
 
        PR rtl-optimization/34628
index 87867c6f51bafcb4f2194d48638e4278efbe8e14..d8d5756da2ea7b594d8113ae44a3d52ff191fc1b 100644 (file)
@@ -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)
        {