I think a cool real world thing to compile successfully may be the sqlite3 amalgamation and shell.
'The amalgamation is a single C code file, named "sqlite3.c" ' ... 'This file contains about 149K lines of code (90K if you omit blank lines and comments) and is over 5.2 megabytes in size.'
Using it as a test suite / benchmark would be fairly trivial once it compiles as it is only a few source files. (isolating runtime compile issues would be a challenge however.)
I think it would be a really powerful example to compile. I'm not sure how far 8cc is away from building it.
I think a cool real world thing to compile successfully may be the sqlite3 amalgamation and shell. 'The amalgamation is a single C code file, named "sqlite3.c" ' ... 'This file contains about 149K lines of code (90K if you omit blank lines and comments) and is over 5.2 megabytes in size.'
http://www.sqlite.org/amalgamation.html
Using it as a test suite / benchmark would be fairly trivial once it compiles as it is only a few source files. (isolating runtime compile issues would be a challenge however.)
I think it would be a really powerful example to compile. I'm not sure how far 8cc is away from building it.