aboutsummaryrefslogtreecommitdiff
path: root/gcc/fold-const.c
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>2009-12-07 15:42:55 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>2009-12-07 15:42:55 +0000
commit16a19648a2e33854ec971362dbb4a0ca70f19bc4 (patch)
treec8a3b69415bd3b0d2e00cbba0570ff527b2650c8 /gcc/fold-const.c
parent197eb5a168c47dbb71bd59cd45d71751d4874037 (diff)
downloadgcc-16a19648a2e33854ec971362dbb4a0ca70f19bc4.zip
gcc-16a19648a2e33854ec971362dbb4a0ca70f19bc4.tar.gz
gcc-16a19648a2e33854ec971362dbb4a0ca70f19bc4.tar.bz2
re PR other/40302 (GCC must hard-require MPC before release)
PR other/40302 * builtins.c: Remove HAVE_mpc* checks throughout. * fold-const.c: Likewise. * real.h: Likewise. * toplev.c: Likewise. From-SVN: r155046
Diffstat (limited to 'gcc/fold-const.c')
-rw-r--r--gcc/fold-const.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/gcc/fold-const.c b/gcc/fold-const.c
index cbdaf86..e112621 100644
--- a/gcc/fold-const.c
+++ b/gcc/fold-const.c
@@ -1962,12 +1962,10 @@ const_binop (enum tree_code code, tree arg1, tree arg2, int notrunc)
break;
case MULT_EXPR:
-#ifdef HAVE_mpc
if (COMPLEX_FLOAT_TYPE_P (type))
return do_mpc_arg2 (arg1, arg2, type,
/* do_nonfinite= */ folding_initializer,
mpc_mul);
-#endif
real = const_binop (MINUS_EXPR,
const_binop (MULT_EXPR, r1, r2, notrunc),
@@ -1980,14 +1978,11 @@ const_binop (enum tree_code code, tree arg1, tree arg2, int notrunc)
break;
case RDIV_EXPR:
-#ifdef HAVE_mpc
if (COMPLEX_FLOAT_TYPE_P (type))
return do_mpc_arg2 (arg1, arg2, type,
/* do_nonfinite= */ folding_initializer,
mpc_div);
/* Fallthru ... */
-#endif
-
case TRUNC_DIV_EXPR:
case CEIL_DIV_EXPR:
case FLOOR_DIV_EXPR: