diff options
author | Richard Sandiford <rsandifo@redhat.com> | 2004-01-08 08:21:15 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2004-01-08 08:21:15 +0000 |
commit | effdb4934f2ccf0db9e8a9991dc88f395931cb03 (patch) | |
tree | 4093957f310cbe38cb354877920351203b3438c5 /gcc/simplify-rtx.c | |
parent | fbfd77b814a92d3a83feef8553020009ab0cb430 (diff) | |
download | gcc-effdb4934f2ccf0db9e8a9991dc88f395931cb03.zip gcc-effdb4934f2ccf0db9e8a9991dc88f395931cb03.tar.gz gcc-effdb4934f2ccf0db9e8a9991dc88f395931cb03.tar.bz2 |
simplify-rtx.c (simplify_immed_subreg): Fix construction of floating-point constants.
* simplify-rtx.c (simplify_immed_subreg): Fix construction of
floating-point constants.
From-SVN: r75540
Diffstat (limited to 'gcc/simplify-rtx.c')
-rw-r--r-- | gcc/simplify-rtx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/simplify-rtx.c b/gcc/simplify-rtx.c index d5beb2e..ddf732b 100644 --- a/gcc/simplify-rtx.c +++ b/gcc/simplify-rtx.c @@ -3201,7 +3201,7 @@ simplify_immed_subreg (enum machine_mode outermode, rtx op, ibase = elem_bitsize - 1 - i; else ibase = i; - tmp[ibase / 32] = (*vp++ & value_mask) << i % 32; + tmp[ibase / 32] |= (*vp++ & value_mask) << i % 32; } real_from_target (&r, tmp, outer_submode); |