diff options
author | Richard Stallman <rms@gnu.org> | 1993-03-31 05:51:30 +0000 |
---|---|---|
committer | Richard Stallman <rms@gnu.org> | 1993-03-31 05:51:30 +0000 |
commit | e9f7ae4446923711b7abcbed3ebcf3b7262e04e2 (patch) | |
tree | 7374e49124db582cdf57f3643688fb8469fb7ea8 /gcc | |
parent | 2c7ff63c062c541fc8617bc62894d29c976f3618 (diff) | |
download | gcc-e9f7ae4446923711b7abcbed3ebcf3b7262e04e2.zip gcc-e9f7ae4446923711b7abcbed3ebcf3b7262e04e2.tar.gz gcc-e9f7ae4446923711b7abcbed3ebcf3b7262e04e2.tar.bz2 |
(expand_fix): Initialized REAL_VALUE_TYPE confuses some compilers.
From-SVN: r3942
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/optabs.c | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/gcc/optabs.c b/gcc/optabs.c index 7c05856..693ecb8 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); |