Re: [ANN] Quest - test code generator for C

cgweav@aol.com (Clayton Weaver)
30 May 2004 13:26:41 -0400

          From comp.compilers

Related articles
[ANN] Quest - test code generator for C lindig@cs.uni-sb.de (Christian Lindig) (2004-05-16)
Re: [ANN] Quest - test code generator for C cgweav@aol.com (2004-05-30)
| List of all articles for this month |

From: cgweav@aol.com (Clayton Weaver)
Newsgroups: comp.compilers
Date: 30 May 2004 13:26:41 -0400
Organization: AOL http://www.aol.com
References: 04-05-052
Keywords: tools, testing
Posted-Date: 30 May 2004 13:26:41 EDT

>The generated code is substantially different from real-world code and
>that is why it is useful. Real-world programs rarely pass complex
>values and cannot be used to test the implementation of this language
>feature.


If it does not do this already, you might add testing complex return
values (returned unions and structs with embedded structs, etc).


(The usual safe thing to do is to merely pass in a pointer to a data
structure that holds arguments, return values, and error indicators
and have the function itself return void, but the point here is
apparently to help compiler implementors handle corner cases
correctly. Complex return values are a similar class of problem to
complex function parameters.)


Regards,


Clayton Weaver
<mailto: cgweav@aol.com>


"Everyone is ignorant, just about different things." Will Rogers


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.