summaryrefslogtreecommitdiff
path: root/gcc/simplify-rtx.c
diff options
context:
space:
mode:
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2004-01-08 08:21:15 +0000
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2004-01-08 08:21:15 +0000
commite67a84f382089b3c39abf93fb39b2ebc1bef7b6c (patch)
tree4093957f310cbe38cb354877920351203b3438c5 /gcc/simplify-rtx.c
parenta7011153eca1d17e5c73dbe7a516aee215835c22 (diff)
downloadgcc-e67a84f382089b3c39abf93fb39b2ebc1bef7b6c.tar.gz
* simplify-rtx.c (simplify_immed_subreg): Fix construction of
floating-point constants. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75540 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/simplify-rtx.c')
-rw-r--r--gcc/simplify-rtx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/simplify-rtx.c b/gcc/simplify-rtx.c
index d5beb2eb5fc..ddf732bdbd8 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);