typeck.c (build_java_array_type): Correct first parameter in ADJUST_FIELD_ALIGN invoc...
authorGeoff Keating <geoffk@cygnus.com>
Sat, 9 Sep 2000 18:35:01 +0000 (18:35 +0000)
committerGeoffrey Keating <geoffk@gcc.gnu.org>
Sat, 9 Sep 2000 18:35:01 +0000 (18:35 +0000)
* typeck.c (build_java_array_type): Correct first parameter
in ADJUST_FIELD_ALIGN invocation.

From-SVN: r36280

gcc/java/ChangeLog
gcc/java/typeck.c

index d8f85fc..9645d55 100644 (file)
@@ -1,3 +1,8 @@
+2000-09-09  Geoffrey Keating  <geoffk@cygnus.com>
+
+       * typeck.c (build_java_array_type): Correct first parameter
+       in ADJUST_FIELD_ALIGN invocation.
+
 2000-09-06  Tom Tromey  <tromey@cygnus.com>
 
        * lang-specs.h: Also recognize `-femit-class-files'.
index 990ff06..cb0305d 100644 (file)
@@ -433,7 +433,7 @@ build_java_array_type (element_type, length)
                            (unsigned) BIGGEST_FIELD_ALIGNMENT);
 #endif
 #ifdef ADJUST_FIELD_ALIGN
-      desired_align = ADJUST_FIELD_ALIGN (field, desired_align);
+      desired_align = ADJUST_FIELD_ALIGN (fld, desired_align);
 #endif
       DECL_ALIGN (arfld) = desired_align;
       }