builtins.c (fold_builtin_classify): Fix typo.

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

        * builtins.c (fold_builtin_classify): Fix typo.

From-SVN: r117929
This commit is contained in:
Richard Guenther 2006-10-21 10:17:49 +00:00 committed by Richard Biener
parent bdbb046092
commit 120a56cb67
2 changed files with 5 additions and 1 deletions

View 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

View 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)
{