Commit 38f1f8cb by Eric Botcazou Committed by Eric Botcazou

trans.c (convert_with_check): Update call to real_2expN.

	* trans.c (convert_with_check): Update call to real_2expN.

From-SVN: r128185
parent d42a3bae
2007-09-06 Eric Botcazou <ebotcazou@adacore.com>
* trans.c (convert_with_check): Update call to real_2expN.
2007-09-05 Sandra Loosemore <sandra@codesourcery.com> 2007-09-05 Sandra Loosemore <sandra@codesourcery.com>
* trans.c (Compilation_unit_to_gnu): Use set_cfun. * trans.c (Compilation_unit_to_gnu): Use set_cfun.
...@@ -5893,7 +5893,7 @@ convert_with_check (Entity_Id gnat_type, tree gnu_expr, bool overflowp, ...@@ -5893,7 +5893,7 @@ convert_with_check (Entity_Id gnat_type, tree gnu_expr, bool overflowp,
/* Compute the exact value calc_type'Pred (0.5) at compile time. */ /* Compute the exact value calc_type'Pred (0.5) at compile time. */
fmt = REAL_MODE_FORMAT (TYPE_MODE (calc_type)); fmt = REAL_MODE_FORMAT (TYPE_MODE (calc_type));
real_2expN (&half_minus_pred_half, -(fmt->p) - 1); real_2expN (&half_minus_pred_half, -(fmt->p) - 1, TYPE_MODE (calc_type));
REAL_ARITHMETIC (pred_half, MINUS_EXPR, dconsthalf, REAL_ARITHMETIC (pred_half, MINUS_EXPR, dconsthalf,
half_minus_pred_half); half_minus_pred_half);
gnu_pred_half = build_real (calc_type, pred_half); gnu_pred_half = build_real (calc_type, pred_half);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment