aboutsummaryrefslogtreecommitdiff
path: root/gcc/stor-layout.c
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1996-10-30 15:53:58 -0500
committerRichard Kenner <kenner@gcc.gnu.org>1996-10-30 15:53:58 -0500
commit505d6e2b92aedbbe10a95fbbbe4e07b0d9d47fb0 (patch)
tree43e54b77f83276f48c7fac41e8f1a9c4ca2db4a2 /gcc/stor-layout.c
parentcd76ea335859b480fed527a39f7ba84963c1bb3a (diff)
downloadgcc-505d6e2b92aedbbe10a95fbbbe4e07b0d9d47fb0.zip
gcc-505d6e2b92aedbbe10a95fbbbe4e07b0d9d47fb0.tar.gz
gcc-505d6e2b92aedbbe10a95fbbbe4e07b0d9d47fb0.tar.bz2
(layout_record): Use HOST_WIDE_INT for size.
From-SVN: r13078
Diffstat (limited to 'gcc/stor-layout.c')
-rw-r--r--gcc/stor-layout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/stor-layout.c b/gcc/stor-layout.c
index 6f78992..61768f8 100644
--- a/gcc/stor-layout.c
+++ b/gcc/stor-layout.c
@@ -318,7 +318,7 @@ layout_record (rec)
and VAR_SIZE is a tree expression.
If VAR_SIZE is null, the size is just CONST_SIZE.
Naturally we try to avoid using VAR_SIZE. */
- register int const_size = 0;
+ register HOST_WIDE_INT const_size = 0;
register tree var_size = 0;
/* Once we start using VAR_SIZE, this is the maximum alignment
that we know VAR_SIZE has. */