Validating a C++ back-end

chris jefferson caj@cs.york.ac.uk
Tue May 10 15:15:00 GMT 2005


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.
>
>I am a bit confused by how the Deja Gnu tests are organized. I see
>that the testsuite contains a lot of different tests of which, some
>are compile only tests, some are pre-processor tests etc. Aren't the
>"runnable" tests the main kind that I should be interested in? Given a
>compiler version of 3.x.x shouldn't I be able to rely on test results
>run on the generic portions by the GCC maintainers themselves and
>worry about only the runnable tests?
>
>Is there a specific/sufficient list of tests that I need to validate...?
>
>  
>
If you can get it going, I'd advise also trying boost, it uses alot of 
language features and will be a good test (although make sure you 
compare results again x86, as some tests do fail on various versions of 
gcc).

Chris



More information about the Gcc mailing list