2 ms·
The place where I saw this was in testing compilers. The idea is you get some piece of deterministic code, and some input to run it on. You compile and run th
by pfdietz 8y ago
The place where I saw this was in testing compilers. The idea is you get some piece of deterministic code, and some input to run it on. You compile and run that code on that input, and get an output.
Now, you modify the code so that the behavior ON THAT INPUT is not changed (and does not become undefined). For example, you can make arbitrary changes to parts of the code that weren't executed on that input. You now compile the modified code and see if it does the same thing on that input. If not, you have a compiler bug.