From: Richard Sandiford Date: Thu, 8 Jan 2004 08:21:15 +0000 (+0000) Subject: simplify-rtx.c (simplify_immed_subreg): Fix construction of floating-point constants. X-Git-Tag: releases/gcc-3.4.0~1199 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=effdb4934f2ccf0db9e8a9991dc88f395931cb03;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b729f9b50edd..aa0010d379d3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-01-08 Richard Sandiford + + * simplify-rtx.c (simplify_immed_subreg): Fix construction of + floating-point constants. + 2004-01-08 J. Brobecker * dwarf2out.c (subrange_type_die): Add context_die parameter. diff --git a/gcc/simplify-rtx.c b/gcc/simplify-rtx.c index d5beb2eb5fc4..ddf732bdbd84 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);