diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 2009-06-19 15:33:55 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 2009-06-19 15:33:55 +0000 |
commit | eb6f9a86c5a7406cabd069093d34d435cf92bd13 (patch) | |
tree | 83e5c787fecb044f7803f22a3aa5b3d699b063b9 /gcc/fortran/target-memory.h | |
parent | 642324bb16ffe88f0aa81c4ced9bdc1ba63471ab (diff) | |
download | gcc-eb6f9a86c5a7406cabd069093d34d435cf92bd13.zip gcc-eb6f9a86c5a7406cabd069093d34d435cf92bd13.tar.gz gcc-eb6f9a86c5a7406cabd069093d34d435cf92bd13.tar.bz2 |
gfortran.h (gfc_expr): Use mpc_t to represent complex numbers.
* gfortran.h (gfc_expr): Use mpc_t to represent complex numbers.
* arith.c, dump-parse-tree.c, expr.c, module.c, resolve.c,
simplify.c, target-memory.c, target-memory.h, trans-const.c,
trans-expr.c: Convert to mpc_t throughout.
From-SVN: r148711
Diffstat (limited to 'gcc/fortran/target-memory.h')
-rw-r--r-- | gcc/fortran/target-memory.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/fortran/target-memory.h b/gcc/fortran/target-memory.h index bc3a1e8..0052e5a 100644 --- a/gcc/fortran/target-memory.h +++ b/gcc/fortran/target-memory.h @@ -39,7 +39,11 @@ int gfc_target_encode_expr (gfc_expr *, unsigned char *, size_t); int gfc_interpret_integer (int, unsigned char *, size_t, mpz_t); int gfc_interpret_float (int, unsigned char *, size_t, mpfr_t); +#ifdef HAVE_mpc +int gfc_interpret_complex (int, unsigned char *, size_t, mpc_t); +#else int gfc_interpret_complex (int, unsigned char *, size_t, mpfr_t, mpfr_t); +#endif int gfc_interpret_logical (int, unsigned char *, size_t, int *); int gfc_interpret_character (unsigned char *, size_t, gfc_expr *); int gfc_interpret_derived (unsigned char *, size_t, gfc_expr *); |