From 650df5dfc08561c688d0c7016babded2275f7fcd Mon Sep 17 00:00:00 2001 From: rth Date: Tue, 13 Oct 1998 23:06:47 +0000 Subject: * 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 --- gcc/function.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/function.c') 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 -- cgit v1.2.1