Talk About Network



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 > Testing C Compi...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 7 Topic 2375 of 2421
Post > Topic >>

Testing C Compiler

by "camille@[EMAIL PROTECTED] " <camille@[EMAIL PROTECTED] > Mar 30, 2008 at 06:54 PM

hi all:

I've been working on a retargetable optimizing C compiler (C89/C99) in
my spare time the last year and a half or so, because that is kind of
fun.  There is a little more work to do but it is coming along fine.
I've had it generating working code for a couple of significant
programs on the x86 while I tested the parser, basic optimizations and
code gen.  My problem now is down the road I am interested in seeing
just how well it works.  There are a variety of areas I'm interested
in:

1) how conformant is the parser?
2) how conformant is the RTL? (the RTL was actually written as part of
an earlier compiler project)
3) how accurate are the optimizations?  I'd like to find the bugs.
4) how good is the performance of generated code?

This is a personal project but I'm kinda nitpicky, I like to get the
details right.  Are there test suites that would cover all these
areas?  Any one test suite that covers it all or am I looking at
various test suites for different things?  Anything open source or do
I have to go to the test-suite vendors?  If I have to go to the
vendors can anyone give me a ballpark of the costs I'm looking at?

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.

Thanks,
David




 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 Wed May 14 3:30:26 CDT 2008.