From c1b98a9573da874bdfc9a0d4fa2a1b1445488e01 Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Tue, 13 Apr 1993 06:47:33 -0400 Subject: Treat QUAL_UNION_TYPE like UNION_TYPE when seeing if aggregate. From-SVN: r4118 --- gcc/stmt.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'gcc/stmt.c') diff --git a/gcc/stmt.c b/gcc/stmt.c index 5c16f50..4400f61 100644 --- a/gcc/stmt.c +++ b/gcc/stmt.c @@ -2931,7 +2931,8 @@ expand_decl (decl) MEM_IN_STRUCT_P (DECL_RTL (decl)) = (TREE_CODE (TREE_TYPE (decl)) == ARRAY_TYPE || TREE_CODE (TREE_TYPE (decl)) == RECORD_TYPE - || TREE_CODE (TREE_TYPE (decl)) == UNION_TYPE); + || TREE_CODE (TREE_TYPE (decl)) == UNION_TYPE + || TREE_CODE (TREE_TYPE (decl)) == QUAL_UNION_TYPE); #if 0 /* If this is in memory because of -ffloat-store, set the volatile bit, to prevent optimizations from @@ -2981,7 +2982,8 @@ expand_decl (decl) MEM_IN_STRUCT_P (DECL_RTL (decl)) = (TREE_CODE (TREE_TYPE (decl)) == ARRAY_TYPE || TREE_CODE (TREE_TYPE (decl)) == RECORD_TYPE - || TREE_CODE (TREE_TYPE (decl)) == UNION_TYPE); + || TREE_CODE (TREE_TYPE (decl)) == UNION_TYPE + || TREE_CODE (TREE_TYPE (decl)) == QUAL_UNION_TYPE); /* Indicate the alignment we actually gave this variable. */ #ifdef STACK_BOUNDARY -- cgit v1.1