3 ms·
There are tools available that can generate random (valid) C programs, comparing the results generated by code from different compilers [1]. CSmith say bugs hav
by michaelt 14y ago
There are tools available that can generate random (valid) C programs, comparing the results generated by code from different compilers [1]. CSmith say bugs have been found in every tool tested [2] - from GCC to costly commercial compilers.
[1] http://gcc.gnu.org/wiki/summit2010?action=AttachFile&do=get&target=regehr_gcc_summit_2010.pdf http://gcc.gnu.org/wiki/summit2010?action=AttachFile&do=...
[2] http://embed.cs.utah.edu/csmith/ http://embed.cs.utah.edu/csmith/