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]

Re: [PATCH] G++ V3 ABI tests


>>>>> "Loren" == Loren James Rittle <rittle@latour.rsch.comm.mot.com> writes:

    Loren> Or, we might want to figure out how to test the G++ V3 ABI
    Loren> in these areas on all targets with and without special
    Loren> options.

This is an interesting pickle.

We actually have a *ton* more of these kinds of tests, but the
customer in question hasn't yet officially allowed us to contribute
them, even though we know they're going to at some point.  Lawyers.

It turns out to be very hard to write such tests in a portable manner.
The layout algorithms vary enough from machine to machine that even
though the C++-specific bits stay the same (where do you put the vptr?
which base gets laid out first?) you find everything else moves around
a lot.

--
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]