diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1996-01-01 16:15:08 -0500 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1996-01-01 16:15:08 -0500 |
commit | 54630035ff8efa09f5af7c68ea2942ca97e1cb00 (patch) | |
tree | 839e2b4ec896682f56af60dd8c811d74e9a47e23 /gcc/c-common.c | |
parent | ed244fc2cd6a4e643b30e8e67617d94cb7034018 (diff) | |
download | gcc-54630035ff8efa09f5af7c68ea2942ca97e1cb00.zip gcc-54630035ff8efa09f5af7c68ea2942ca97e1cb00.tar.gz gcc-54630035ff8efa09f5af7c68ea2942ca97e1cb00.tar.bz2 |
(decl_attributes): Fix default alignment: BIGGEST_ALIGNMENT is a
number of bits, not bytes.
From-SVN: r10929
Diffstat (limited to 'gcc/c-common.c')
-rw-r--r-- | gcc/c-common.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/c-common.c b/gcc/c-common.c index 979f30b..ad61319 100644 --- a/gcc/c-common.c +++ b/gcc/c-common.c @@ -1,5 +1,5 @@ /* Subroutines shared by all languages that are variants of C. - Copyright (C) 1992, 1993, 1994, 1995 Free Software Foundation, Inc. + Copyright (C) 1992, 1993, 1994, 1995, 1996 Free Software Foundation, Inc. This file is part of GNU CC. @@ -510,7 +510,8 @@ decl_attributes (node, attributes, prefix_attributes) case A_ALIGNED: { tree align_expr - = args ? TREE_VALUE (args) : size_int (BIGGEST_ALIGNMENT); + = (args ? TREE_VALUE (args) + : size_int (BIGGEST_ALIGNMENT / BITS_PER_UNIT)); int align; /* Strip any NOPs of any kind. */ |