aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/trans-const.h
diff options
context:
space:
mode:
authorTobias Burnus <burnus@net-b.de>2009-03-27 22:55:13 +0100
committerTobias Burnus <burnus@gcc.gnu.org>2009-03-27 22:55:13 +0100
commit346a77d1d814bc194c825ee48e75604646070bf6 (patch)
treebeaf8e8d8e61c21748269df6c2b92982034929d0 /gcc/fortran/trans-const.h
parent68599f330b29e9f1b0fd5bb1578741a5e663688d (diff)
downloadgcc-346a77d1d814bc194c825ee48e75604646070bf6.zip
gcc-346a77d1d814bc194c825ee48e75604646070bf6.tar.gz
gcc-346a77d1d814bc194c825ee48e75604646070bf6.tar.bz2
gfortran.h (enum init_local_real.): Add GFC_INIT_REAL_SNAN.
2009-03-27 Tobias Burnus <burnus@net-b.de> * gfortran.h (enum init_local_real.): Add GFC_INIT_REAL_SNAN. (gfc_expr): Add is_snan. * trans-const.c (gfc_conv_mpfr_to_tree): Support SNaN. (gfc_conv_constant_to_tree): Update call to gfc_conv_mpfr_to_tree. * trans-const.h (gfc_conv_mpfr_to_tree): Update prototype. * resolve.c (build_default_init_expr): Update call. * target-memory.c (encode_float): Ditto. * trans-intrinsic.c * (gfc_conv_intrinsic_aint,gfc_conv_intrinsic_mod, From-SVN: r145129
Diffstat (limited to 'gcc/fortran/trans-const.h')
-rw-r--r--gcc/fortran/trans-const.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/fortran/trans-const.h b/gcc/fortran/trans-const.h
index 2cba791..6cc71c5 100644
--- a/gcc/fortran/trans-const.h
+++ b/gcc/fortran/trans-const.h
@@ -24,7 +24,7 @@ tree gfc_conv_mpz_to_tree (mpz_t, int);
void gfc_conv_tree_to_mpz (mpz_t, tree);
/* Converts between REAL_CST and MPFR floating-point representations. */
-tree gfc_conv_mpfr_to_tree (mpfr_t, int);
+tree gfc_conv_mpfr_to_tree (mpfr_t, int, int);
void gfc_conv_tree_to_mpfr (mpfr_ptr, tree);
/* Build a tree for a constant. Must be an EXPR_CONSTANT gfc_expr.