re PR target/30652 (SSE expansion is missing for isinf() and other fpclassify functions)
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>
Wed, 18 Jul 2007 17:30:38 +0000 (17:30 +0000)
committerKaveh Ghazi <ghazi@gcc.gnu.org>
Wed, 18 Jul 2007 17:30:38 +0000 (17:30 +0000)
commit7faa1bbb5d0206cc83f20c1145f612f7754fdcf3
treeeb2db58c64bbaba8f0181d8d24ef99a386911de5
parentb5d32c25372d1e0604bbd8471d735e46215dbe03
re PR target/30652 (SSE expansion is missing for isinf() and other fpclassify functions)

PR target/30652
PR middle-end/20558

* builtins.c (expand_builtin_interclass_mathfn): Provide a
generic fallback for isinf.
* c-cppbuiltin.c (builtin_define_float_constants): Move FP max
calculation code ...
* real.c (get_max_float): ... to here.
* real.h (get_max_float): New.

testsuite:
* gcc.dg/pr28796-1.c: Add more cases.
* gcc.dg/pr28796-2.c: Likewise.

From-SVN: r126724
gcc/ChangeLog
gcc/builtins.c
gcc/c-cppbuiltin.c
gcc/real.c
gcc/real.h
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr28796-1.c
gcc/testsuite/gcc.dg/pr28796-2.c