diff options
author | Jim Wilson <wilson@redhat.com> | 2002-05-02 19:27:42 +0000 |
---|---|---|
committer | Jim Wilson <wilson@gcc.gnu.org> | 2002-05-02 12:27:42 -0700 |
commit | ac293f98456e481b8ea41dcc0b5bd2490275433f (patch) | |
tree | 4e51a3193070b6b1712d0aee561319f81f86512e /gcc/ada/utils.c | |
parent | b651af860eb127e88774d6b4add0a560944f2cd7 (diff) | |
download | gcc-ac293f98456e481b8ea41dcc0b5bd2490275433f.zip gcc-ac293f98456e481b8ea41dcc0b5bd2490275433f.tar.gz gcc-ac293f98456e481b8ea41dcc0b5bd2490275433f.tar.bz2 |
Fix i960-rtems Ada build failure reported by Joel Sherrill.
* utils.c (finish_record_type): Change record_size to record_type.
From-SVN: r53058
Diffstat (limited to 'gcc/ada/utils.c')
-rw-r--r-- | gcc/ada/utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ada/utils.c b/gcc/ada/utils.c index 70e2dc7..292efd3 100644 --- a/gcc/ada/utils.c +++ b/gcc/ada/utils.c @@ -853,7 +853,7 @@ finish_record_type (record_type, fieldlist, has_rep, defer_debug) #ifdef ROUND_TYPE_SIZE size = ROUND_TYPE_SIZE (record_type, size, TYPE_ALIGN (record_type)); - size_unit = ROUND_TYPE_SIZE_UNIT (record_size, size_unit, + size_unit = ROUND_TYPE_SIZE_UNIT (record_type, size_unit, TYPE_ALIGN (record_type) / BITS_PER_UNIT); #else size = round_up (size, TYPE_ALIGN (record_type)); |