This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: RFA: 3.3 PATCH to update_alignment_for_field


On Sat, 2003-05-03 at 06:47, Jason Merrill wrote:
> The Java folks want to be able to check the alignment of a field.

Using "__alignof__" or in the front end?  (Not that it matters; just
curious.)

> Currently this works properly on the trunk, but 3.3 and before just give
> the type alignment.  I'd like to apply this patch to make 3.3 give the
> right answer as well.

It's unfortunate that update_alignment_for_field has changed
substantially on the mainline -- that means that your patch isn't just a
straight copy from the mainline.  But, I've stared hard at the code, and
your path seems to make sense.

Go ahead.

Thanks,

-- 
Mark Mitchell <mark@codesourcery.com>
CodeSourcery, LLC


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