builtins.c (fold_builtin_classify): New.
authorPaolo Bonzini <bonzini@gnu.org>
Thu, 1 Jul 2004 08:02:34 +0000 (08:02 +0000)
committerPaolo Bonzini <bonzini@gcc.gnu.org>
Thu, 1 Jul 2004 08:02:34 +0000 (08:02 +0000)
commit64a9295a723890c67026c3ccc42005e305beca66
treea36dd2e20b0d8ec8ec87600ce7b3f20a3c5ce3a2
parent1ea463a273df44816d63c3f96292341668a88ef0
builtins.c (fold_builtin_classify): New.

gcc/ChangeLog:
2004-07-01  Paolo Bonzini  <bonzini@gnu.org>

* builtins.c (fold_builtin_classify): New.
(fold_builtin_unordered_cmp): Fix commentary.
(fold_builtin): Use it.
* builtins.def: Define builtins for isnan,
isnanf, isnanl, finite, finitef, finitel,
isinf, isinff, isinfl.

gcc/testsuite/ChangeLog:
2004-07-01  Paolo Bonzini  <bonzini@gnu.org>

* gcc.dg/builtins-43.c: New.
* gcc.dg/builtins-44.c: New.
* gcc.dg/builtins-45.c: New.

From-SVN: r83960
gcc/ChangeLog
gcc/builtins.c
gcc/builtins.def
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/builtins-43.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/builtins-44.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/builtins-45.c [new file with mode: 0644]