aboutsummaryrefslogtreecommitdiff
path: root/gcc/stmt.c
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1993-04-13 06:47:33 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1993-04-13 06:47:33 -0400
commitc1b98a9573da874bdfc9a0d4fa2a1b1445488e01 (patch)
tree5ad42eb845fd1c1c368c84f41be43d6d958f7941 /gcc/stmt.c
parente7f3c83f0e1066c2a772ecefb1e3ae644204eccd (diff)
downloadgcc-c1b98a9573da874bdfc9a0d4fa2a1b1445488e01.zip
gcc-c1b98a9573da874bdfc9a0d4fa2a1b1445488e01.tar.gz
gcc-c1b98a9573da874bdfc9a0d4fa2a1b1445488e01.tar.bz2
Treat QUAL_UNION_TYPE like UNION_TYPE when seeing if aggregate.
From-SVN: r4118
Diffstat (limited to 'gcc/stmt.c')
-rw-r--r--gcc/stmt.c6
1 files changed, 4 insertions, 2 deletions
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