Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Compilers > Re: Testing C C...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 7 Topic 2375 of 2474
Post > Topic >>

Re: Testing C Compiler

by Carlo Salinari <carlo.salinari@[EMAIL PROTECTED] > Mar 31, 2008 at 07:40 AM

> I'm trying to find out if I can find standardized tests that will
> help, or if I'm just going to have to download every program I can
> find and compile it to see what happens.

Hi David,

gcc comes with a rather large test suite. Have a look at:
http://gcc.gnu.org/viewcvs/trunk/gcc/testsuite/

that could be a good starting point. Probably you could look at other
open compiler projects as well, such as pcc or llvm:
http://en.wikipedia.org/wiki/****table_C_Compiler
http://llvm.org/docs/TestingGuide.html#wholeprograms

this is an example of how the tinyc compiler tests himself against the
gcc testsuite:
http://cvs.savannah.nongnu.org/viewvc/tinycc/gcctestsuite.sh?root=tinycc&view=markup

Bye,
Carlo
 




 7 Posts in Topic:
Testing C Compiler
"camille@[EMAIL PROT  2008-03-30 18:54:38 
Re: Testing C Compiler
kphillips <kevin.phill  2008-03-31 05:54:52 
Re: Testing C Compiler
Carlo Salinari <carlo.  2008-03-31 07:40:48 
Re: Testing C Compiler
ArarghMail803@[EMAIL PROT  2008-03-31 15:03:48 
Re: Testing C and other Compilers
Robert A Duff <bobduff  2008-04-01 11:19:53 
Re: Testing C Compiler
=?ISO-8859-1?Q?Bj=F6rn_Fr  2008-04-04 15:25:55 
Re: Testing C Compiler
Mayan Moudgill <mayan@  2008-04-05 21:48:24 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Jul 26 1:17:20 CDT 2008.