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]

Re: Alpha vs. new ABI


Alexandre Petit-Bianco wrote:
> > I'm not very pleased with it because of the side effects of
> > java_array_type_length() relying on TYPE_MAX_VALUE to remember the
> > length an array was allocated with.
> 
> Yes, through building the index for the array which is a range
> comprising min and max values -- I guess it's an OK way to store the
> length.

It relies on the special value -2 to denote arrays of unknown length.  I don't
see any harm, but that deserves a comment at least.

> I was going to verify things on alpha, but after a successful build,
> my alpha build breaks again -- I don't understand what's happening.

Odd.  My automated build script runs on pristine sources, and hasn't failed in
days:

http://gcc.gnu.org/ml/gcc-testresults/2001-02/msg00016.html

> But if you report things are working, then it's fine. I'm trying a
> build on Linux/PPC, hopefully it'll build a little more reliably than
> on Alpha. If results are coming out OK, I say we should check your
> patch in.

It's hardly a patch... all I did was remove code ;)

I wasn't sure whether to keep TYPE_ALIGN or DECL_ALIGN, or both.  Can you
enlighten me on how these differ?

--
Jeff Sturm
jeff.sturm@commerceone.com

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