24.01.2013, 15:22, "Jan Smets" <[email protected]>:
> Hi
>
> I have a large C file with a lot of typedefs, structure definitions, etc, and 
> only one 'small' C routine, which I do _not_ want to change, because a 
> particulary code generation bug is only triggered with that specific code.

http://gcc.gnu.org/wiki/A_guide_to_testcase_reduction#Further_hints

>
> I would like to get rid of all the unnecessary typedefs, structure 
> information etc. so that I can submit a clean bug report.
> Is that something C-Reduce can help me with?
>
> What I tried is this :
>  gcc -c test.c -o test.o
>  objdump -d test.o > test.dump
>  diff -s known-bad.dump test.dump >/dev/null...
>
> running 4 interestingness tests in parallel
> ===< pass_blank :: 0 >===
> (1.4 %, 380052 bytes)
> (1.4 %, 380052 bytes)
> ===< pass_lines :: 0 >===
> (0.5 %, 383662 bytes)
> (100.0 %, 0 bytes)
> ===< pass_lines :: 0 >===
>  <stuck here forever?>
>
> I'm not subscribed to the mailing list.
>
> Thanks
>  - Jan


-- 
Regards,
Konstantin

Reply via email to