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: static alignment and hash sync


Quoth Tom Tromey on , 7 June:
: 
: I think it can easily be done with `__attribute__((aligned (8)))'.
: See the node `Variable Attributes' in the gcc manual.
: 
: Tony, could you try this?
: It ought to be a simple addition to DECLARE_PRIM_TYPE.

I tried attributing the declaration of java::lang::Class in Class.h in
this way, and it did not stick.  I have not tried to debug this.
Clearly it is not as easy to align types or objects as the documents
imply.  Simple declarations work, but complex ones fail me.


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