OSDN Git Service

PR middle-end/30250
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 19 May 2007 04:18:05 +0000 (04:18 +0000)
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 19 May 2007 04:18:05 +0000 (04:18 +0000)
commite84da7c1e9eb6b84beeba3e8dd19a005f98f4d22
treef61dbc1f8b3d760ebbede40c819cb5f93b517e5c
parent7955185953f3af724d6ffe2020695af17517cd59
PR middle-end/30250
* builtins.c (do_mpfr_lgamma_r): New.
(fold_builtin_2): Handle builtin gamma_r/lgamma_r.
* tree.h (CASE_FLT_FN_REENT): New.

testsuite:
* gcc.dg/torture/builtin-math-2.c: Add gamma_r/lgamma_r tests.
* gcc.dg/torture/builtin-math-4.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@124849 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/builtins.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/builtin-math-2.c
gcc/testsuite/gcc.dg/torture/builtin-math-4.c
gcc/tree.h