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: [PATCH] C++ ABI fix - bitfield layout on IA-32 (take 2)




--On Monday, August 05, 2002 03:58:04 PM +0200 Jakub Jelinek <jakub@redhat.com> wrote:

On Mon, Aug 05, 2002 at 01:37:54PM +0200, Jakub Jelinek wrote:
Unfortunately, the testcase still fails on the __alignof__ (x) != 4
check (regression from 3.0.x and earlier) - this was apparently broken
on gcc HEAD already in Nov 2001. Back into debugger.
Which is of course silly thing to test, because that doesn't
matter for binary compatibility. Lots of __alignof__ for toplevel objects
changed between gcc versions. What matters if its __alignof__ when
embedded in some other structure is correct.
Changing __alignof__ does change binary compatibility in C++ -- it can
result in different templates being instantiated.

That's not a comment on your x86 changes; just a parenthetical statement.

--
Mark Mitchell                mark@codesourcery.com
CodeSourcery, LLC            http://www.codesourcery.com


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