diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1993-04-13 06:47:33 -0400 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1993-04-13 06:47:33 -0400 |
commit | c1b98a9573da874bdfc9a0d4fa2a1b1445488e01 (patch) | |
tree | 5ad42eb845fd1c1c368c84f41be43d6d958f7941 /gcc/stmt.c | |
parent | e7f3c83f0e1066c2a772ecefb1e3ae644204eccd (diff) | |
download | gcc-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.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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 |