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
This commit is contained in:
Richard Sandiford 2004-01-08 08:21:15 +00:00 committed by Richard Sandiford
parent fbfd77b814
commit effdb4934f
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2004-01-08 Richard Sandiford <rsandifo@redhat.com>
* simplify-rtx.c (simplify_immed_subreg): Fix construction of
floating-point constants.
2004-01-08 J. Brobecker <brobecker@gnat.com>
* dwarf2out.c (subrange_type_die): Add context_die parameter.

View File

@ -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);