typeck.c (build_java_array_type): Rewrite code to do array alignment.
authorAndrew Haley <aph@cygnus.com>
Tue, 29 Aug 2000 22:15:21 +0000 (22:15 +0000)
committerAlexandre Petit-Bianco <apbianco@gcc.gnu.org>
Tue, 29 Aug 2000 22:15:21 +0000 (15:15 -0700)
commit65f69237d7a0a3883ab120593c372fed53613b35
tree2535202ed384f0558a94feb08a4c14605880a4fd
parent7efcf4662e9bf7ac58f09ef7184c34f077ea85ae
typeck.c (build_java_array_type): Rewrite code to do array alignment.

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)

From-SVN: r36057
gcc/java/ChangeLog
gcc/java/typeck.c