summaryrefslogtreecommitdiff
path: root/gcc/real.h
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>2009-05-15 18:08:10 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>2009-05-15 18:08:10 +0000
commitc128599ae188817b56a12c373fde7a5a4f309976 (patch)
treed071f09b549350c8254096c5a5fc4f7fd1817db2 /gcc/real.h
parentd33e4b70f65df2876f67172944512b9d3356169f (diff)
downloadgcc-c128599ae188817b56a12c373fde7a5a4f309976.tar.gz
builtins.c (do_mpc_arg1, [...]): New.
* builtins.c (do_mpc_arg1, fold_builtin_ccos): New. (fold_builtin_cexp): Ensure we get a complex REAL_TYPE. Evaluate constant arguments. (fold_builtin_carg): Ensure we get a complex REAL_TYPE. (fold_builtin_1): Likewise, also evaluate constant arguments. Remove superfluous break. (do_mpc_ckconv): New. * real.h: Include mpc.h. * toplev.c (print_version): Output MPC version info if available. From-SVN: r147591
Diffstat (limited to 'gcc/real.h')
-rw-r--r--gcc/real.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/real.h b/gcc/real.h
index 834a24b7185..0fc915cae5b 100644
--- a/gcc/real.h
+++ b/gcc/real.h
@@ -24,6 +24,9 @@
#ifndef GENERATOR_FILE
#include <gmp.h>
#include <mpfr.h>
+#ifdef HAVE_mpc
+#include <mpc.h>
+#endif
#endif
#include "machmode.h"