From: Geoff Keating Date: Sat, 9 Sep 2000 18:35:01 +0000 (+0000) Subject: typeck.c (build_java_array_type): Correct first parameter in ADJUST_FIELD_ALIGN invoc... X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0caae6ddb81f8c027e4582e172c0abfdaf108df2;p=platform%2Fupstream%2Fgcc.git typeck.c (build_java_array_type): Correct first parameter in ADJUST_FIELD_ALIGN invocation. * typeck.c (build_java_array_type): Correct first parameter in ADJUST_FIELD_ALIGN invocation. From-SVN: r36280 --- diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog index d8f85fc..9645d55 100644 --- a/gcc/java/ChangeLog +++ b/gcc/java/ChangeLog @@ -1,3 +1,8 @@ +2000-09-09 Geoffrey Keating + + * typeck.c (build_java_array_type): Correct first parameter + in ADJUST_FIELD_ALIGN invocation. + 2000-09-06 Tom Tromey * lang-specs.h: Also recognize `-femit-class-files'. diff --git a/gcc/java/typeck.c b/gcc/java/typeck.c index 990ff06..cb0305d 100644 --- a/gcc/java/typeck.c +++ b/gcc/java/typeck.c @@ -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; }