OSDN Git Service

2005-08-02 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 2 Aug 2005 15:12:03 +0000 (15:12 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 2 Aug 2005 15:12:03 +0000 (15:12 +0000)
* fold-const.c (tree_expr_nonnegative_p): frexp(x, &e) is
positive if its first argument is positive.

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

gcc/ChangeLog
gcc/fold-const.c

index 5127e43..216deb9 100644 (file)
@@ -1,5 +1,10 @@
 2005-08-02  Richard Guenther  <rguenther@suse.de>
 
+       * fold-const.c (tree_expr_nonnegative_p): frexp(x, &e) is
+       positive if its first argument is positive.
+
+2005-08-02  Richard Guenther  <rguenther@suse.de>
+
        PR tree-optimization/23177
        * tree-ssa-operands.c (get_tmr_operands): Use get_expr_operands
        on TMR_TAG.
index c74f891..ed5394a 100644 (file)
@@ -10904,7 +10904,6 @@ tree_expr_nonnegative_p (tree t)
            CASE_BUILTIN_F (BUILT_IN_EXP2)
            CASE_BUILTIN_F (BUILT_IN_FABS)
            CASE_BUILTIN_F (BUILT_IN_FDIM)
-           CASE_BUILTIN_F (BUILT_IN_FREXP)
            CASE_BUILTIN_F (BUILT_IN_HYPOT)
            CASE_BUILTIN_F (BUILT_IN_POW10)
            CASE_BUILTIN_I (BUILT_IN_FFS)
@@ -10928,6 +10927,7 @@ tree_expr_nonnegative_p (tree t)
            CASE_BUILTIN_F (BUILT_IN_EXPM1)
            CASE_BUILTIN_F (BUILT_IN_FLOOR)
            CASE_BUILTIN_F (BUILT_IN_FMOD)
+           CASE_BUILTIN_F (BUILT_IN_FREXP)
            CASE_BUILTIN_F (BUILT_IN_LCEIL)
            CASE_BUILTIN_F (BUILT_IN_LDEXP)
            CASE_BUILTIN_F (BUILT_IN_LFLOOR)