aboutsummaryrefslogtreecommitdiff
path: root/gcc/function.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@cygnus.com>1998-10-13 16:06:47 -0700
committerRichard Henderson <rth@gcc.gnu.org>1998-10-13 16:06:47 -0700
commit470032d72e41bac5ed47efd297dbe9d0ec5d3dc8 (patch)
treed3ddc0423dc067ad1caff6982ac81cd14c03a0fe /gcc/function.c
parent73aeb2ff9b05da69dd92ad674608df424252593c (diff)
downloadgcc-470032d72e41bac5ed47efd297dbe9d0ec5d3dc8.zip
gcc-470032d72e41bac5ed47efd297dbe9d0ec5d3dc8.tar.gz
gcc-470032d72e41bac5ed47efd297dbe9d0ec5d3dc8.tar.bz2
function.c (purge_addressof_1): Fix typo in inequality: do bitfield optimization for equal mode sizes.
* 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. From-SVN: r23066
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 48018cf..3904b86 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