re PR tree-optimization/57066 (std::logb(-inf) returns wrong value)
commitea28bb0b9da3f70832bb599b298f2ae019b83a15
authorMarek Polacek <polacek@redhat.com>
Thu, 25 Apr 2013 15:51:57 +0000 (25 15:51 +0000)
committerMarek Polacek <mpolacek@gcc.gnu.org>
Thu, 25 Apr 2013 15:51:57 +0000 (25 15:51 +0000)
treee3d276f447b6fd69f6286da14e514a8a6e73b76f
parent96659611d2076dbae333a6a85ca55da7b0a32298
re PR tree-optimization/57066 (std::logb(-inf) returns wrong value)

PR tree-optimization/57066
        * builtins.c (fold_builtin_logb): Return +Inf for -Inf.

        * gcc.dg/torture/builtin-logb-1.c: Adjust testcase.

From-SVN: r198308
gcc/ChangeLog
gcc/builtins.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/builtin-logb-1.c