diff options
author | Stan Shebs <shebs@apple.com> | 2001-11-16 04:40:11 +0000 |
---|---|---|
committer | Stan Shebs <shebs@gcc.gnu.org> | 2001-11-16 04:40:11 +0000 |
commit | 38b3baaef415c904fba681f05f3ee44eb3d10ae6 (patch) | |
tree | 8d9981ea3929c5d4b5fe526b4c97f03405f3a7d4 /gcc/expr.c | |
parent | e790b36a7ccd314b353f037d00596c820abf59c4 (diff) | |
download | gcc-38b3baaef415c904fba681f05f3ee44eb3d10ae6.tar.gz |
* expr.c (expand_expr, case COMPONENT_REF): Fix variable ref.
From-SVN: r47081
Diffstat (limited to 'gcc/expr.c')
-rw-r--r-- | gcc/expr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/expr.c b/gcc/expr.c index a06011ba9ed..bce6ba0bfdc 100644 --- a/gcc/expr.c +++ b/gcc/expr.c @@ -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))) |