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
This commit is contained in:
Geoff Keating 2000-09-09 18:35:01 +00:00 committed by Geoffrey Keating
parent f52509a940
commit 0caae6ddb8
2 changed files with 6 additions and 1 deletions

View 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'.

View 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;
}