diff options
author | Alan Modra <amodra@bigpond.net.au> | 2005-11-22 13:16:29 +0000 |
---|---|---|
committer | Alan Modra <amodra@gcc.gnu.org> | 2005-11-22 23:46:29 +1030 |
commit | 30f37b8d0c2ba1ca093520765f8f3fb4b82ab900 (patch) | |
tree | afe82834b1b355ccf76959adf2fe51c988f856c5 /gcc/expmed.c | |
parent | e168899134dba8d8895fc9e003193fc16563797b (diff) | |
download | gcc-30f37b8d0c2ba1ca093520765f8f3fb4b82ab900.tar.gz |
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
Diffstat (limited to 'gcc/expmed.c')
-rw-r--r-- | gcc/expmed.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/expmed.c b/gcc/expmed.c index 58f179eacdc..d591b6bc7c2 100644 --- a/gcc/expmed.c +++ b/gcc/expmed.c @@ -643,6 +643,7 @@ store_bit_field (rtx str_rtx, unsigned HOST_WIDE_INT bitsize, bestmode = GET_MODE (op0); if (bestmode == VOIDmode + || GET_MODE_SIZE (bestmode) < GET_MODE_SIZE (fieldmode) || (SLOW_UNALIGNED_ACCESS (bestmode, MEM_ALIGN (op0)) && GET_MODE_BITSIZE (bestmode) > MEM_ALIGN (op0))) goto insv_loses; |