By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,988 Members | 1,049 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,988 IT Pros & Developers. It's quick & easy.

Tests for compilerwriters?

P: n/a
Does anyone know of a testsuite suitable for use by a C compilerwriter?
It would be a series of standard C programs that test that tricky points
of the language (eg integer promotions) are handled correctly.

Thanks in advance.

--
Fact answering fiction: http://www.detectingdesign.com/
Aug 13 '07 #1
Share this Question
Share on Google+
4 Replies


P: n/a

"Bob Andrews" <bo*@andrews.invalidwrote in message
news:sl********************@nospam.invalid...
Does anyone know of a testsuite suitable for use by a C compilerwriter?
It would be a series of standard C programs that test that tricky points
of the language (eg integer promotions) are handled correctly.

Thanks in advance.
ctorture.

--
Free games and programming goodies.
http://www.personal.leeds.ac.uk/~bgy1mm

Aug 13 '07 #2

P: n/a
On 13 Aug 2007 at 21:56, Malcolm McLean wrote:
>
"Bob Andrews" <bo*@andrews.invalidwrote in message
news:sl********************@nospam.invalid...
>Does anyone know of a testsuite suitable for use by a C compilerwriter?
It would be a series of standard C programs that test that tricky points
of the language (eg integer promotions) are handled correctly.

Thanks in advance.
ctorture.
Hmmmm... <does google search>.

Top hit: "ROOT_404-2g_version: test/ctorture.cxx File Reference".

Hmmm, doesn't look promising. <clicks link>

Hmmm, yep, it's C++ alright. Yuck!

Looks through other google results. All C++ (plus some links to bondage
crap!) <frowns>

--
Fact answering fiction: http://www.detectingdesign.com/
Aug 14 '07 #3

P: n/a
Bob Andrews wrote:
>Does anyone know of a testsuite suitable for use by a C compilerwriter?
It would be a series of standard C programs that test that tricky points
of the language (eg integer promotions) are handled correctly.
Try posting in comp.compilers
Roberto Waltman

[ Please reply to the group,
return address is invalid ]
Aug 14 '07 #4

P: n/a
In article <sl********************@nospam.invalid>, Bob Andrews
<bo*@andrews.invalidwrites
>Does anyone know of a testsuite suitable for use by a C compilerwriter?
It would be a series of standard C programs that test that tricky points
of the language (eg integer promotions) are handled correctly.

Thanks in advance.
There are two industry standard compiler test suites

http://www.plumhall.com

http://www.peren.com/pages/products.htm

--
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
\/\/\/\/\ Chris Hills Staffs England /\/\/\/\/
/\/\/ ch***@phaedsys.org www.phaedsys.org \/\/\
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/

Aug 14 '07 #5

This discussion thread is closed

Replies have been disabled for this discussion.