Commit 30f37b8d by Alan Modra Committed by Alan Modra

re PR middle-end/24950 (ICE in operand_subword_force)

	PR middle-end/24950
	* expmed.c (store_bit_field): Don't attempt to insv a field
	larger than the reg.

From-SVN: r107354
parent e1688991
2005-11-22 Alan Modra <amodra@bigpond.net.au> 2005-11-22 Alan Modra <amodra@bigpond.net.au>
PR middle-end/24950
* expmed.c (store_bit_field): Don't attempt to insv a field
larger than the reg.
2005-11-22 Alan Modra <amodra@bigpond.net.au>
PR target/24954 PR target/24954
* config/rs6000/predicated.md (easy_vector_constant_add_self): Use * config/rs6000/predicated.md (easy_vector_constant_add_self): Use
explicit sign extension, not a (char) cast. explicit sign extension, not a (char) cast.
......
...@@ -643,6 +643,7 @@ store_bit_field (rtx str_rtx, unsigned HOST_WIDE_INT bitsize, ...@@ -643,6 +643,7 @@ store_bit_field (rtx str_rtx, unsigned HOST_WIDE_INT bitsize,
bestmode = GET_MODE (op0); bestmode = GET_MODE (op0);
if (bestmode == VOIDmode if (bestmode == VOIDmode
|| GET_MODE_SIZE (bestmode) < GET_MODE_SIZE (fieldmode)
|| (SLOW_UNALIGNED_ACCESS (bestmode, MEM_ALIGN (op0)) || (SLOW_UNALIGNED_ACCESS (bestmode, MEM_ALIGN (op0))
&& GET_MODE_BITSIZE (bestmode) > MEM_ALIGN (op0))) && GET_MODE_BITSIZE (bestmode) > MEM_ALIGN (op0)))
goto insv_loses; goto insv_loses;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment