* expr.c (expand_expr, case COMPONENT_REF): Fix variable ref.

From-SVN: r47081
This commit is contained in:
Stan Shebs 2001-11-16 04:40:11 +00:00 committed by Stan Shebs
parent e790b36a7c
commit 38b3baaef4
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2001-11-15 Stan Shebs <shebs@apple.com>
* expr.c (expand_expr, case COMPONENT_REF): Fix variable ref.
2001-11-16 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
* config/s390/s390.md: Remove ALIGN arg from emit_cmp_and_jump_insns

View File

@ -7117,7 +7117,7 @@ expand_expr (exp, target, tmode, modifier)
/* If the field isn't aligned enough to fetch as a memref,
fetch it as a bit field. */
|| (mode1 != BLKmode
&& SLOW_UNALIGNED_ACCESS (mode1, MEM_ALIGN (op))
&& SLOW_UNALIGNED_ACCESS (mode1, MEM_ALIGN (op0))
&& ((TYPE_ALIGN (TREE_TYPE (tem))
< GET_MODE_ALIGNMENT (mode))
|| (bitpos % GET_MODE_ALIGNMENT (mode) != 0)))