Seeking advice on creating reduced testcase

Mikhail Maltsev maltsevm@gmail.com
Fri Sep 25 00:32:00 GMT 2015


On 09/25/2015 12:40 AM, Johan Alfredsson wrote:
> I've also tried to remove as much code as possible and managed to
> reduce the amount of code needed a to trigger the issue a bit but
> further reductions have all resulted in the deadlock vanishing.
> Moreover, I tried using both gold and ld (two different versions) to
> try to rule out this being a linker issue, but all cases deadlock.
> 
> Is there some other options (maybe internal) to g++ I could  try? Any
> other ideas to be able to come up with a small testcase? I'd be happy
> for any advice.
See https://gcc.gnu.org/wiki/A_guide_to_testcase_reduction and
https://gcc.gnu.org/wiki/Analysing_Large_Testcases.

Creduce is probably the best tool to start with.

> 
> Thanks,
> 
> /Johan Alfredsson

-- 
Regards,
    Mikhail Maltsev



More information about the Gcc-help mailing list