[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [creduce-bugs] c-reduce varargs support



Reduction generally works a lot better if you preprocess first, can you try that?

You could also try telling your interestingness test that the file must include stdarg.h.

Besides things like this, I'm not really sure what support for varargs would look like -- what do you have in mind here? None of us has plans to write a pass like this, as far as I know.

John


On 12/04/2017 08:03 AM, Ondrej Glasnák wrote:
Hello,

I have issues with reducing a testcase that includes varargs.

Currently, running creduce just reduces it with initial passes by removing all #includes along with <stdarg.h> and then fails with 6% improvement, on which the script no longer returns zero (and obviously can't be compiled). I tried skipping the initial passes, but then I get even more bizarre results.

Is this a known issue or something you're planning to support?

Thanks in advance,
Ondrej