Re: [ANN] Quest - test code generator for C (Clayton Weaver)
30 May 2004 13:26:41 -0400

          From comp.compilers

Related articles
[ANN] Quest - test code generator for C (Christian Lindig) (2004-05-16)
Re: [ANN] Quest - test code generator for C (2004-05-30)
| List of all articles for this month |

From: (Clayton Weaver)
Newsgroups: comp.compilers
Date: 30 May 2004 13:26:41 -0400
Organization: AOL
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

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.)


Clayton Weaver

"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.