# gcc-mirror/gcc SLOC report

> 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%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

gcc-mirror/gcc has 11,245,820 source lines of code out of 18,510,299 total lines across 143,157 files, counted from the fc0a5c0d04a55429868594403f96608f7003aed4 ref at commit fc0a5c0d04a5 by the OctoCounts tokei engine on 2026-09-06. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.

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.

## Repository size insights

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 | 93,262 | 4,703,296 | 3,063,258 | 1,024,942 | 615,096 |
| C++ | 12,713 | 4,291,789 | 3,016,770 | 723,260 | 551,759 |
| C Header | 4,988 | 1,266,286 | 863,134 | 238,106 | 165,046 |
| PO File | 48 | 2,120,575 | 782,694 | 925,637 | 412,244 |
| D | 5,428 | 1,052,841 | 750,890 | 178,716 | 123,235 |
| Ada | 5,107 | 1,348,509 | 728,179 | 358,576 | 261,754 |
| Go | 3,337 | 935,701 | 701,054 | 152,496 | 82,151 |
| FORTRAN Modern | 9,404 | 459,173 | 341,068 | 61,408 | 56,697 |
| Rust | 2,045 | 195,301 | 164,265 | 8,485 | 22,551 |
| Autoconf | 226 | 183,444 | 150,923 | 12,046 | 20,475 |
| XML | 3 | 148,263 | 148,237 | 17 | 9 |
| Module-Definition | 718 | 133,792 | 107,948 | 464 | 25,380 |

Top language (C 27.2%). Generated at 2026-09-06T20:16:53.810977958+00:00. Canonical report: https://octocounts.com/github/gcc-mirror/gcc

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/gcc-mirror/gcc/commit/fc0a5c0d04a55429868594403f96608f7003aed4?analysis=%7B%22ignoredDirs%22%3A%5B%5D%2C%22ignoredLanguages%22%3A%5B%5D%2C%22profile%22%3A%22default%22%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22includeGenerated%22%3Afalse%7D).

## Report FAQ

### How many lines of code does gcc-mirror/gcc have?

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.

### How was the gcc-mirror/gcc line count measured?

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.

### What commit was counted for gcc-mirror/gcc?

This OctoCounts report was generated from fc0a5c0d04a55429868594403f96608f7003aed4 at commit fc0a5c0d04a5 on 2026-09-06T20:16:53.810977958+00:00.

## Similar repository reports

- [DeusData/codebase-memory-mcp](https://octocounts.com/github/DeusData/codebase-memory-mcp) — C, 13,187,848 code lines
- [reactos/reactos](https://octocounts.com/github/reactos/reactos) — C, 7,377,603 code lines
- [vcvkk/Telegram-iOS](https://octocounts.com/github/vcvkk/Telegram-iOS) — C, 5,661,625 code lines
- [TelegramMessenger/Telegram-iOS](https://octocounts.com/github/TelegramMessenger/Telegram-iOS) — C, 5,285,043 code lines
- [yugabyte/yugabyte-db](https://octocounts.com/github/yugabyte/yugabyte-db) — C, 4,654,940 code lines
- [zephyrproject-rtos/zephyr](https://octocounts.com/github/zephyrproject-rtos/zephyr) — C, 3,583,127 code lines

## Related OctoCounts pages

- [Recently analyzed repositories](https://octocounts.com/recent)
- [Popular SLOC reports](https://octocounts.com/popular)
- [Trending GitHub repositories](https://octocounts.com/trending)
- [Hall of Monoliths](https://octocounts.com/hall-of-monoliths)
- [Neovim vs VS Code](https://octocounts.com/compare/neovim-vs-vscode)
- [MongoDB vs PostgreSQL](https://octocounts.com/compare/mongodb-vs-postgres)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [SLOC and code metrics glossary](https://octocounts.com/docs/glossary)
- [Original research: how filtering changes SLOC counts](https://octocounts.com/research)
- [OctoCounts API docs](https://octocounts.com/docs/api)
