Verification of C++ compilers

D

Dag Gunnar Asperud

Hello!

I need to test some C++ compilers to verify its characteristics.
Are there any "compiler testbed" that can be used for this purpose?

Dag Gunnar Asperud
 
V

Victor Bazarov

Dag said:
I need to test some C++ compilers to verify its characteristics.
Are there any "compiler testbed" that can be used for this purpose?

I don't know of any (although just like you, I think there might be
some), but I have a question: if you know what characteristics you
want to verify (or do you?), why don't you just write a few programs
that would exercise those parts of the compiler you need to test?

In my experience the choice of the compiler is defined not by its
abilities, primarily, but by the clients' requirements or by other
market considerations.

V
 
D

Dag Gunnar Asperud

I don't know of any (although just like you, I think there might be
some), but I have a question: if you know what characteristics you
want to verify (or do you?), why don't you just write a few programs
that would exercise those parts of the compiler you need to test?



I need to be able to know if a compiler can be used in "Safety Critical
Computing System", which means that I need to know a lot of its
characteristics for specific platforms, such as the correctness of the
standard library bundled, the characteristics of simple numeric types,
whether or not it handles exceptions and so on. There are probably a lot of
questions I should ask, but am not aware of. Therefore a lot of thoughts
"bundled with a testbed" would be very helpful :). Other references to this
issue would also be highly appreciated.



Dag Gunnar
 
V

Victor Bazarov

Dag said:
I need to be able to know if a compiler can be used in "Safety Critical
Computing System", which means that I need to know a lot of its
characteristics for specific platforms, such as the correctness of the
standard library bundled, the characteristics of simple numeric types,
whether or not it handles exceptions and so on. There are probably a lot of
questions I should ask, but am not aware of. Therefore a lot of thoughts
"bundled with a testbed" would be very helpful :). Other references to this
issue would also be highly appreciated.

For other references, check out the newsgroup archives on Google. Your
question has been already asked. I don't know if it was answered to your
satisfaction, that's for you to decide. http://groups.google.com/

V
 
B

bjarne

Dag said:
I need to be able to know if a compiler can be used in "Safety Critical
Computing System", which means that I need to know a lot of its
characteristics for specific platforms, such as the correctness of the
standard library bundled, the characteristics of simple numeric types,
whether or not it handles exceptions and so on. There are probably a lot of
questions I should ask, but am not aware of. Therefore a lot of thoughts
"bundled with a testbed" would be very helpful :). Other references to this
issue would also be highly appreciated.

perennial and plumhall offer conformance suites. However, the vendors
of C++ compilers for embedded systems usually offer quite a lot of the
information you ask for so it may be a good idea to ask your compiler
supplier(s) first of all.

-- Bjarne Stroustrup; http://www.research.att.com/~bs

PS. If you haven't already, have a look at the C++ standards
committee's technical report on performance (link on my C++ page); that
TR addresses a lot of common questions related to embedded systems.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

[cross-post]path verification 31
timing verification 22
compilers 2
Adding hostname verification to SSLSocket 2
Compatibility Issue - C++ compilers 1
Compilers 4
Java compilers 2
Functional Verification Books 0

Members online

No members online now.

Forum statistics

Threads
473,776
Messages
2,569,603
Members
45,189
Latest member
CryptoTaxSoftware

Latest Threads

Top