This is the mail archive of the gcc@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: Validating a C++ back-end


Hi Nathan,

Thanks for the inputs. Can you tell me if there is a set of tests in
the G++ testsuite for verifying just my implementation of basic
machine dependent C++ hooks? To give examples - verify global
constructor/destructors being invoked correctly, init_priority,
thunks,  Vtable stuff etc. Can I just take all those "dg-do run" tests
and run them on my target?

I am just looking for basic testing since I am only in the initial
stages, before I go onto those full blown conformance tests.

thanks for the clarifications so far,
Vasanth


On 5/10/05, Nathan Sidwell <nathan@codesourcery.com> wrote:
> Vasanth wrote:
> > Hi,
> >
> > I am working on a fresh C++ port and I am filling in all the machine
> > specific hooks.
> >
> > How do I run the C++ testsuite on my compiler? I am familiar with the
> > GCC torture/execute tests and have my backend passing those tests
> > reasonably well. Now, I am looking for something similar for C++ to
> > test my support for the language's features.
> 
> Ah, you need a conformance testsuite.  There are several conformance
> ones available, all proprietary AFAIK.  Depending on what you want
> to verify, you might need a language conformance testsuite and/or an
> ABI conformance testsuite.
> 
> A C++ specific forum might be able to provide the best info about
> what's available.
> 
> nathan
> --
> Nathan Sidwell    ::   http://www.codesourcery.com   ::     CodeSourcery LLC
> nathan@codesourcery.com    ::     http://www.planetfall.pwp.blueyonder.co.uk
> 
>


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