aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada
diff options
context:
space:
mode:
authorJim Wilson <wilson@redhat.com>2002-05-02 19:27:42 +0000
committerJim Wilson <wilson@gcc.gnu.org>2002-05-02 12:27:42 -0700
commitac293f98456e481b8ea41dcc0b5bd2490275433f (patch)
tree4e51a3193070b6b1712d0aee561319f81f86512e /gcc/ada
parentb651af860eb127e88774d6b4add0a560944f2cd7 (diff)
downloadgcc-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')
-rw-r--r--gcc/ada/ChangeLog4
-rw-r--r--gcc/ada/utils.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog
index 5a53e6d..90a8859 100644
--- a/gcc/ada/ChangeLog
+++ b/gcc/ada/ChangeLog
@@ -1,3 +1,7 @@
+2002-05-02 Jim Wilson <wilson@redhat.com>
+
+ * utils.c (finish_record_type): Change record_size to record_type.
+
2001-05-02 John David Anglin <dave@hiauly1.hia.nrc.ca>
* ada/Makefile.in (X_ADA_CFLAGS, T_ADA_CFLAGS): New fragment overrides.
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));