It is by no means accurate and is comparing apples and oranges in many dimensions, e.g.
- Targeting LLVM IR, C, assembly have varying difficulty.
- Some may include runtime while some may not.
- Different compilers are written in different languages. Languages have different expressiveness. Different paradigms have varying expressiveness.
- LLVM has many non-default passes which are not used by regular compilation. I try to use fine-grained directories but still some unneeded files are included.
Nevertheless, here is the result (auxiliary files like shell/Makefile/documentation are ignored):
- gcc (2207000+):
tokei gcc libcpp -e ada -e d -e go -e objc -e objcp -e '*test*'