diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1995-12-10 09:51:54 -0500 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1995-12-10 09:51:54 -0500 |
commit | 05019f83a3c585af22a1b275c71b3bc8239cd552 (patch) | |
tree | c7571eadc0f5b7478d2c1a94ad3ccfdefea68203 | |
parent | 07604beb82888d339e51e31e818c04693ce270e7 (diff) | |
download | gcc-05019f83a3c585af22a1b275c71b3bc8239cd552.zip gcc-05019f83a3c585af22a1b275c71b3bc8239cd552.tar.gz gcc-05019f83a3c585af22a1b275c71b3bc8239cd552.tar.bz2 |
(expand_expr, case COMPONENT_REF): If result is BLKmode, use that to
access object too.
From-SVN: r10697
-rw-r--r-- | gcc/expr.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -4889,6 +4889,11 @@ expand_expr (exp, target, tmode, modifier) return op0; } + /* If the result is BLKmode, use that to access the object + now as well. */ + if (mode == BLKmode) + mode1 = BLKmode; + /* Get a reference to just this component. */ if (modifier == EXPAND_CONST_ADDRESS || modifier == EXPAND_SUM || modifier == EXPAND_INITIALIZER) |