As of 2026-08-19, gcc-mirror/gcc contains 19,921,615 total lines (12,199,457 code) across 151,673 files, while llvm/llvm-project contains 40,978,523 total lines (18,083,894 code) across 156,910 files as of 2026-08-19. llvm/llvm-project is about 1.5x the size of gcc-mirror/gcc by code lines. Code size is not code quality: a larger count only means more source material, not a better or worse project.
| Metric | gcc-mirror/gcc | llvm/llvm-project |
|---|---|---|
| Files | 151,673 | 156,910 |
| Total lines | 19,921,615 | 40,978,523 |
| Code lines | 12,199,457 | 18,083,894 |
| Comment lines | 5,035,595 | 18,796,178 |
| Blank lines | 2,686,563 | 4,098,451 |
| Languages counted | 12 | 12 |
Top languages in gcc-mirror/gcc: C (26.8% of code), C++ (24.7% of code), Ada (9.6% of code). Top languages in llvm/llvm-project: C++ (39.3% of code), LLVM (22.3% of code), GNU Style Assembly (11.6% of code). C, C++, C Header appear in both top language lists; Ada, Go appear only in gcc-mirror/gcc's top languages; LLVM, GNU Style Assembly appear only in llvm/llvm-project's top languages.
Methodology: both counts come from cached OctoCounts reports generated with tokei. gcc-mirror/gcc was counted at ref master (commit aac02c966618) on 2026-08-19; llvm/llvm-project was counted at ref main (commit d5b4271ac83d) on 2026-08-19. See the counting methodology for ignored directories and analysis options.
Evidence and next steps:
Note: code size is not code quality. OctoCounts only reports reproducible line counts and makes no claim that either project is better.