2007-08-27 Tobias Burnus <burnus@net-b.de>
* simplify.c (gfc_simplify_lgamma): Fix mpfr_lgamma call.
From-SVN: r127829
+2007-08-27 Tobias Burnus <burnus@net-b.de>
+
+ * simplify.c (gfc_simplify_lgamma): Fix mpfr_lgamma call.
+
2007-08-26 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR fortran/33055
{
#if MPFR_VERSION >= MPFR_VERSION_NUM(2,3,0)
gfc_expr *result;
+ int sg;
if (x->expr_type != EXPR_CONSTANT)
return NULL;
gfc_set_model_kind (x->ts.kind);
- mpfr_lgamma (result->value.real, x->value.real, GFC_RND_MODE);
+ mpfr_lgamma (result->value.real, &sg, x->value.real, GFC_RND_MODE);
return range_check (result, "LGAMMA");
#else