<p>Working on compilers inevitably leads to situations where massive inputs cause bugs. The problem is that &quot;massive&quot; from a human perspective starts at about 20 lines of code. What can one do to recover sanity?</p><p>&quot;Test-case reducers&quot; are the answer: they chop away the input using an &quot;interesting&quot; test, making sure that the bug you care about is still retained. It&#39;s not uncommon for 99+% of an input to be unnecessary to trigger the bug you care about.</p>
Reply