From e9f7ae4446923711b7abcbed3ebcf3b7262e04e2 Mon Sep 17 00:00:00 2001 From: Richard Stallman Date: Wed, 31 Mar 1993 05:51:30 +0000 Subject: [PATCH] (expand_fix): Initialized REAL_VALUE_TYPE confuses some compilers. From-SVN: r3942 --- gcc/optabs.c | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/gcc/optabs.c b/gcc/optabs.c index 7c058566420..693ecb88e5e 100644 --- a/gcc/optabs.c +++ b/gcc/optabs.c @@ -3030,12 +3030,15 @@ expand_fix (to, from, unsignedp) && CODE_FOR_nothing != can_fix_p (GET_MODE (to), fmode, 0, &must_trunc)) { - int bitsize = GET_MODE_BITSIZE (GET_MODE (to)); - REAL_VALUE_TYPE offset = REAL_VALUE_LDEXP (dconst1, bitsize - 1); - rtx limit = immed_real_const_1 (offset, fmode); - rtx lab1 = gen_label_rtx (); - rtx lab2 = gen_label_rtx (); - rtx insn; + int bitsize; + REAL_VALUE_TYPE offset; + rtx limit, lab1, lab2, insn; + + bitsize = GET_MODE_BITSIZE (GET_MODE (to)); + offset = REAL_VALUE_LDEXP (dconst1, bitsize - 1); + limit = immed_real_const_1 (offset, fmode); + lab1 = gen_label_rtx (); + lab2 = gen_label_rtx (); emit_queue (); to = protect_from_queue (to, 1); -- 2.30.2