]> gcc.gnu.org Git - gcc.git/commitdiff
(expand_expr, case COMPONENT_REF): If result is BLKmode, use that to
authorRichard Kenner <kenner@gcc.gnu.org>
Sun, 10 Dec 1995 14:51:54 +0000 (09:51 -0500)
committerRichard Kenner <kenner@gcc.gnu.org>
Sun, 10 Dec 1995 14:51:54 +0000 (09:51 -0500)
access object too.

From-SVN: r10697

gcc/expr.c

index 7af675071354d5d97e57c8a69998492229f6cb62..dce2b3b01c69ed93f404b5c66c6c87fd560a93ef 100644 (file)
@@ -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)
This page took 0.08157 seconds and 5 git commands to generate.