As of 2026-08-19 (commit aac02c966618), gcc-mirror/gcc contains 19,921,615 total lines: 12,199,457 code, 5,035,595 comments, 2,686,563 blank, across 151,673 files in 62 languages (top: C 26.8%). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving gcc-mirror/gcc to commit aac02c966618, 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 61.2% of all lines, comments represent 25.3%, and the repository averages 80 code lines per file. C accounts for 26.8% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C | 93437 | 4963270 | 3268338 | 1050598 | 644334 |
| C++ | 12749 | 4292252 | 3017211 | 723724 | 551317 |
| Ada | 10535 | 2112223 | 1172421 | 543439 | 396363 |
| C Header | 5106 | 1269416 | 864543 | 239100 | 165773 |
| Go | 5370 | 1058660 | 791724 | 168725 | 98211 |
| PO File | 48 | 2120575 | 782694 | 925637 | 412244 |
| D | 5432 | 1053555 | 751451 | 178766 | 123338 |
| FORTRAN Modern | 9550 | 465832 | 342260 | 65278 | 58294 |
| XML | 64 | 211528 | 207005 | 364 | 4159 |
| Rust | 2109 | 213130 | 179293 | 9068 | 24769 |
| Autoconf | 230 | 196180 | 159009 | 14178 | 22993 |
| Module-Definition | 717 | 133337 | 107525 | 464 | 25348 |
Top language (C 26.8%). Generated at 2026-08-19T21:55:34.081350468+00:00.
gcc-mirror/gcc has 19,921,615 total lines, including 12,199,457 code lines, 5,035,595 comment lines, and 2,686,563 blank lines.
OctoCounts resolved the public GitHub repository to commit aac02c966618, 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 master at commit aac02c966618 on 2026-08-19T21:55:34.081350468+00:00.