builtins.c (228756) | builtins.c (233923) |
---|---|
1/* Expand builtin functions. 2 Copyright (C) 1988, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 3 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 4 5This file is part of GCC. 6 7GCC is free software; you can redistribute it and/or modify it under 8the terms of the GNU General Public License as published by the Free --- 8724 unchanged lines hidden (view full) --- 8733 return integer_zero_node; 8734 } 8735 8736 return NULL_TREE; 8737 8738 case BUILT_IN_FINITE: 8739 if (!HONOR_NANS (TYPE_MODE (TREE_TYPE (arg))) 8740 && !HONOR_INFINITIES (TYPE_MODE (TREE_TYPE (arg)))) | 1/* Expand builtin functions. 2 Copyright (C) 1988, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 3 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 4 5This file is part of GCC. 6 7GCC is free software; you can redistribute it and/or modify it under 8the terms of the GNU General Public License as published by the Free --- 8724 unchanged lines hidden (view full) --- 8733 return integer_zero_node; 8734 } 8735 8736 return NULL_TREE; 8737 8738 case BUILT_IN_FINITE: 8739 if (!HONOR_NANS (TYPE_MODE (TREE_TYPE (arg))) 8740 && !HONOR_INFINITIES (TYPE_MODE (TREE_TYPE (arg)))) |
8741 return omit_one_operand (type, integer_zero_node, arg); | 8741 return omit_one_operand (type, integer_one_node, arg); |
8742 8743 if (TREE_CODE (arg) == REAL_CST) 8744 { 8745 r = TREE_REAL_CST (arg); 8746 return real_isinf (&r) || real_isnan (&r) 8747 ? integer_zero_node : integer_one_node; 8748 } 8749 --- 2451 unchanged lines hidden --- | 8742 8743 if (TREE_CODE (arg) == REAL_CST) 8744 { 8745 r = TREE_REAL_CST (arg); 8746 return real_isinf (&r) || real_isnan (&r) 8747 ? integer_zero_node : integer_one_node; 8748 } 8749 --- 2451 unchanged lines hidden --- |