gcj/214: Compiler generates incorrect array initialization code

Tom Tromey tromey@cygnus.com
Sat Apr 22 18:16:00 GMT 2000


The following reply was made to PR gcj/214; it has been noted by GNATS.

From: Tom Tromey <tromey@cygnus.com>
To: Alexandre Petit-Bianco <apbianco@cygnus.com>
Cc: java-gnats@sourceware.cygnus.com
Subject: Re: gcj/214: Compiler generates incorrect array initialization code
Date: Sat, 22 Apr 2000 18:12:46 -0700 (PDT)

 Alex>  	* class.c (build_java_array_type): `data' to always use pointer
 Alex>  	alignment.
 
 Hi Alex.
 Two questions about this patch:
 
 1. Don't we need a corresponding runtime patch?
 2. Is pointer alignment sufficient?  On x86 I think doubles have
    stricter alignment than pointers.
 
 Tom


More information about the Java-prs mailing list