2000-08-16 Andrew Haley <aph@cygnus.com>
commit1e5a0b7c5318b583b89f79ee392d6fe060affcde
authorapbianco <apbianco@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 29 Aug 2000 22:15:21 +0000 (29 22:15 +0000)
committerapbianco <apbianco@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 29 Aug 2000 22:15:21 +0000 (29 22:15 +0000)
tree2535202ed384f0558a94feb08a4c14605880a4fd
parent7bc3a46c6872e9b7a7e624495a2c3ea02f0503a2
2000-08-16  Andrew Haley  <aph@cygnus.com>

* typeck.c (build_java_array_type): Rewrite code to do array
alignment.  Take into account back-end macros when aligning array
data.  Remove setting of TYPE_USER_ALIGN; Java doesn't allow the
user to set alignment. Fixes gcj/252 and 160.

(This fixes gcj/252 and 160:
 http://sources.redhat.com/ml/java-prs/2000-q2/msg00254.html
 <couldn't find an archive entry for gcj/160>
 http://gcc.gnu.org/ml/gcc-patches/2000-08/msg00907.html)

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36057 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/java/ChangeLog
gcc/java/typeck.c