diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1995-07-18 19:11:10 -0400 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1995-07-18 19:11:10 -0400 |
commit | 06aa52de3cf82005be7339f00befa978f9990e22 (patch) | |
tree | 440cfe597c9554072f0566cf66041399bce0e222 /gcc/c-common.c | |
parent | 410d3f5de9e750be1a08b252a543c7b9c5577d34 (diff) | |
download | gcc-06aa52de3cf82005be7339f00befa978f9990e22.zip gcc-06aa52de3cf82005be7339f00befa978f9990e22.tar.gz gcc-06aa52de3cf82005be7339f00befa978f9990e22.tar.bz2 |
(decl_attributes, case A_ALIGNED): Handle is_type case properly.
From-SVN: r10146
Diffstat (limited to 'gcc/c-common.c')
-rw-r--r-- | gcc/c-common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/c-common.c b/gcc/c-common.c index 1d26ebf..f2715b3 100644 --- a/gcc/c-common.c +++ b/gcc/c-common.c @@ -516,7 +516,7 @@ decl_attributes (node, attributes, prefix_attributes) if (exact_log2 (align) == -1) error ("requested alignment is not a power of 2"); else if (is_type) - TYPE_ALIGN (TREE_TYPE (decl)) = align; + TYPE_ALIGN (type) = align; else if (TREE_CODE (decl) != VAR_DECL && TREE_CODE (decl) != FIELD_DECL) error_with_decl (decl, |