summaryrefslogtreecommitdiff
path: root/gcc/function.c
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>1998-10-13 23:06:47 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>1998-10-13 23:06:47 +0000
commit650df5dfc08561c688d0c7016babded2275f7fcd (patch)
treed3ddc0423dc067ad1caff6982ac81cd14c03a0fe /gcc/function.c
parent5dfe2c03cd9b3caa8ab8405bdf6ce652e47ae0a4 (diff)
downloadgcc-650df5dfc08561c688d0c7016babded2275f7fcd.tar.gz
* function.c (purge_addressof_1): Fix typo in inequality: do
bitfield optimization for equal mode sizes. * expmed.c (store_bit_field): Don't take subregs of subregs in the movstrict case. Tidy a potential problem in the multi-word case. (extract_bit_field): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23066 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/function.c')
-rw-r--r--gcc/function.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/function.c b/gcc/function.c
index 48018cff6f5..3904b86960a 100644
--- a/gcc/function.c
+++ b/gcc/function.c
@@ -2885,7 +2885,7 @@ purge_addressof_1 (loc, insn, force, store)
/* Don't even consider working with paradoxical subregs,
or the moral equivalent seen here. */
- if (size_x < size_sub
+ if (size_x <= size_sub
&& int_mode_for_mode (GET_MODE (sub)) != BLKmode)
{
/* Do a bitfield insertion to mirror what would happen