DATA_ALIGNMENT vs. DECL_USER_ALIGNMENT

Richard Kenner kenner@vlsi1.ultra.nyu.edu
Thu Apr 10 21:35:00 GMT 2003


    So, what you actually want to do is to set the alignment of the object
    to be *more* aligned than its type?  

Yes.

    Or, to phrase it another way, you want the object to be of a type
    which is more aligned than its declared type?

Not necessarily.  We had this discussion before.  I believe it should be
possible to have DECL_ALIGN > TYPE_ALIGN and likewise for DECL_SIZE.
If it's not, then why have them in the first place?



More information about the Gcc-patches mailing list