[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [csmith-dev] generating unknown labels.
Csmith already supports 'goto' statement. What's you motivation to generate a specific style of 'goto' statement?
We are working on extending csmith for gcc C language extensions.So we are trying for computed goto extensions.
You are generating 'goto' statement that jumps to a label that outside the function, and that caused compiler errors, is my understanding correct?
No,we are trying to first create and diaplay all the labels inside the function,where we are getting unknown labels.
"find_contained_labels" was introduced to prevent that from happening.
This method will fill the vector passed to it as a parameter with the labels inside the block,right?
I haven't get time to read your code yet. But I hope my comments help.