Commit e9f7ae44 by Richard Stallman

(expand_fix): Initialized REAL_VALUE_TYPE confuses some compilers.

From-SVN: r3942
parent 2c7ff63c
...@@ -3030,12 +3030,15 @@ expand_fix (to, from, unsignedp) ...@@ -3030,12 +3030,15 @@ expand_fix (to, from, unsignedp)
&& CODE_FOR_nothing != can_fix_p (GET_MODE (to), fmode, 0, && CODE_FOR_nothing != can_fix_p (GET_MODE (to), fmode, 0,
&must_trunc)) &must_trunc))
{ {
int bitsize = GET_MODE_BITSIZE (GET_MODE (to)); int bitsize;
REAL_VALUE_TYPE offset = REAL_VALUE_LDEXP (dconst1, bitsize - 1); REAL_VALUE_TYPE offset;
rtx limit = immed_real_const_1 (offset, fmode); rtx limit, lab1, lab2, insn;
rtx lab1 = gen_label_rtx ();
rtx lab2 = gen_label_rtx (); bitsize = GET_MODE_BITSIZE (GET_MODE (to));
rtx insn; offset = REAL_VALUE_LDEXP (dconst1, bitsize - 1);
limit = immed_real_const_1 (offset, fmode);
lab1 = gen_label_rtx ();
lab2 = gen_label_rtx ();
emit_queue (); emit_queue ();
to = protect_from_queue (to, 1); to = protect_from_queue (to, 1);
......
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