(expand_call): Add yet another assignment to MEM_IN_STRUCT_P.
authorRichard Kenner <kenner@gcc.gnu.org>
Wed, 6 Oct 1993 10:54:56 +0000 (06:54 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Wed, 6 Oct 1993 10:54:56 +0000 (06:54 -0400)
From-SVN: r5630

gcc/calls.c

index 22cdf5c3511017bd385f67f3d9e3aad58c370a84..3d2943072c60d4077b430f737de626e8b0fbf03a 100644 (file)
@@ -996,6 +996,12 @@ expand_call (exp, target, ignore)
                  copy = assign_stack_temp (TYPE_MODE (type), size, 1);
                }
 
+             MEM_IN_STRUCT_P (copy)
+               = (TREE_CODE (type) == RECORD_TYPE
+                  || TREE_CODE (type) == UNION_TYPE
+                  || TREE_CODE (type) == QUAL_UNION_TYPE
+                  || TREE_CODE (type) == ARRAY_TYPE);
+
              store_expr (args[i].tree_value, copy, 0);
 
              args[i].tree_value = build1 (ADDR_EXPR,