* fold-const.c (tree_expr_nonnegative_p): Add support for
commitcfb7235bd455b6ff12fac016c7612a53c24983a9
authorsayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 12 Jun 2003 12:53:01 +0000 (12 12:53 +0000)
committersayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 12 Jun 2003 12:53:01 +0000 (12 12:53 +0000)
treebee1e78d630354a7ade37f1018887b2ec4c5cb43
parent3067b4d9c6243f9ff88e678b26a15b91e690ed2d
* fold-const.c (tree_expr_nonnegative_p): Add support for
floating point constants, addition and multiplication.

* gcc.dg/builtins-21.c: New test case.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67828 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/fold-const.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/builtins-21.c [new file with mode: 0644]