This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: On alignment
>>>>> "Kevin" == Kevin B Hendricks <kevin dot hendricks at sympatico dot ca> writes:
Kevin> Will having long long int aligned to 8 and double aligned to 4
Kevin> create any problems for gcj if a similar alignment macro is
Kevin> used for gcj given that doubles and long long int are
Kevin> different?
I'm not certain. My understanding is that g++ does all the field
alignment in the front end, while gcj completely relies on stor-layout
to do it. So the question is whether g++ (with whatever hack we're
adding to the generated headers) and stor-layout agree in the above
scenario.
Tom