As of 2026-09-06 (commit fc0a5c0d04a5), gcc-mirror/gcc contains 18,510,299 total lines: 11,245,820 code, 4,794,940 comments, 2,469,539 blank, across 143,157 files in 60 languages (top: C 27.2%). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving gcc-mirror/gcc to commit fc0a5c0d04a5, downloading the repository source archive, and counting every source file with tokei, the open-source line counter written in Rust. The table below breaks the count down by programming language into files, total lines, code lines, comment lines, and blank lines, so the figures can be compared across languages and projects. Results are cached by commit, tokei version, and analysis options, so counting the same revision again reproduces exactly these numbers.
This is a very large codebase by counted code lines. Code represents 60.8% of all lines, comments represent 25.9%, and the repository averages 79 code lines per file. C accounts for 27.2% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C | 93262 | 4703296 | 3063258 | 1024942 | 615096 |
| C++ | 12713 | 4291789 | 3016770 | 723260 | 551759 |
| C Header | 4988 | 1266286 | 863134 | 238106 | 165046 |
| PO File | 48 | 2120575 | 782694 | 925637 | 412244 |
| D | 5428 | 1052841 | 750890 | 178716 | 123235 |
| Ada | 5107 | 1348509 | 728179 | 358576 | 261754 |
| Go | 3337 | 935701 | 701054 | 152496 | 82151 |
| FORTRAN Modern | 9404 | 459173 | 341068 | 61408 | 56697 |
| Rust | 2045 | 195301 | 164265 | 8485 | 22551 |
| Autoconf | 226 | 183444 | 150923 | 12046 | 20475 |
| XML | 3 | 148263 | 148237 | 17 | 9 |
| Module-Definition | 718 | 133792 | 107948 | 464 | 25380 |
Top language (C 27.2%). Generated at 2026-09-06T20:16:53.810977958+00:00.
gcc-mirror/gcc has 18,510,299 total lines, including 11,245,820 code lines, 4,794,940 comment lines, and 2,469,539 blank lines.
OctoCounts resolved the public GitHub repository to commit fc0a5c0d04a5, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.
This OctoCounts report was generated from fc0a5c0d04a55429868594403f96608f7003aed4 at commit fc0a5c0d04a5 on 2026-09-06T20:16:53.810977958+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity: