This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: alignment test case


Andrew Haley writes:
 > Tom Tromey writes:
 >  > >>>>> "Andrew" == Andrew Haley <aph at redhat dot com> writes:
 >  > 
 >  > Andrew> I was too quick to accept blame.  My patch is correct AFAICS.
 >  > 
 >  > Andrew> I think this is a c++ bug.  See
 >  > Andrew> http://gcc.gnu.org/ml/gcc/2003-03/msg01196.html.
 >  > 
 >  > Ok.  We need some resolution on this asap, even if it means adding a
 >  > workaround to gcjh.  As it stands I had to disable my nightly builds,
 >  > since many test programs hang.  We can't ship 3.3 like this.
 > 
 > I can't see any way to fix this without fixing the C++ problem.  Well,
 > we could rewrite gcj to use the new ABI, but that's a long way down
 > the road.

Actually there might be another way: use __attribute__((aligned)) on
java.lang.Object.  Then a subclass can never be more aligned than its
superclass.  Wastes memory, though.

But I want C++ opinion on whether this really is a bug.  It sure looks
like one to me.

Andrew.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]