2 ms·
That's nice that your compiler works that way but that's not the way most do. More importantly the salient point was about comparing the binary output of diffe
by InclinedPlane 13y ago
That's nice that your compiler works that way but that's not the way most do.
More importantly the salient point was about comparing the binary output of different compilers.
While it's certainly possible to create tools which make it make it possible to determine if the binary output of different compilers are effectively the same such tools are very non-trivial to create. The idea that different compilers are likely to produce exactly identical output is sheer fantasy.
- e12e 13y agoNo, the point was comparing the binary output of the same compiler, compiled by itself, compiled by different compilers... (Yeah, I missed that the first time round, too).
- WalterBright 13y ago> More importantly the salient point was about comparing the binary output of different compilers. No, it wasn't. I explained it (apparently badly) 3 times now. There's another iteration of bootstrap compiling in there before the output is compared.
- chii 13y agoI think a lot of people gets confused by your explanation earlier in the comment thread because one it is difficult to do recursion, and two, see above. ;) But yes, i think this method does work. You'd have to trust all the pipeline programs used in between.