GCC Compiler Is Up To 7.3 Million Lines Of Code

Posted by Michael Larabel on August 14, 2012

Here's some staggering statistics about the development of GCC, the GNU Compiler Collection.

After providing Git stats on a number of graphics drivers, which proved to be interesting, here's some development stats for the Free Software Foundation's GCC. GitStats was run on the Git mirror of GCC as of 13 August to generate some rather intriguing numbers.

The Git activity goes back to 23 November 1988 and during the course of these past 8,665 days on 7,270 of those days there were code commits made to this leading open-source compiler. In total, GCC in Git is currently up to 77,053 files amounting to 7,348,239 lines of code as of yesterday.

The 7.3 million lines of code has been spread across 118,375 commits (an average of 16 commits per active day) and in the process there's been 24,456,429 lines of code added and 17,108,190 lines removed. A total of 470 developers have committed to the GCC repository.

GCC's development has really picked up in about the last 15 years.

So far this year there's been 4,046 commits to the GCC repository while in 2011 there were a total of 8,546 commits. The most commits ever in a single year to GCC were in 2004 when there were 9,595 commits. The activity so far this year saw the addition of 1,123,593 lines of new code and the removal of 812,895 lines of code.

The number one code contributor to GCC is Red Hat's Jeff Law. In second is Richard Kenner who was a contributor since 1991, but he hasn't committed to GCC since 2005. While RMS is in 8th place for the overall number of commits, he hasn't committed to GCC since 1997.

Joseph Myers has been adding a massive amount of code to GCC lately by line count.

A look at the top developers by commit count over time.

Some monthly GCC stats...

GCC's file count has been steadily rising for about the past five years.

The lines of code count for the GNU Compiler Collection is also continuing to rise with no signs of it slowing down.

Next up will be some development stats on LLVM/Clang.

Discuss this article in our forums, IRC channel, or email the author. You can also follow our content via RSS and on social networks like Facebook, Identi.ca, and Twitter (@Phoronix and @MichaelLarabel). Subscribe to Phoronix Premium to view our content without advertisements, view entire articles on a single page, and experience other benefits.
Latest Hardware Reviews
  1. Intel Haswell HD Graphics 4600 vs. AMD Radeon Graphics On Linux
  2. Intel Haswell HD Graphics 4600 Performance On Ubuntu Linux
  3. Intel Core i7 4770K "Haswell" Benchmarks On Ubuntu Linux
  4. The First Experience Of Intel Haswell On Linux
Latest Software Articles
  1. Optimized Binaries Provide Great Benefits For Intel Haswell
  2. 11-Way Linux, BSD Platform Comparison
  3. SNA Acceleration Works Great For Intel Core i7 Haswell
  4. The Linux Evolution For Intel Haswell's Performance
Latest Linux News
  1. KDE's KWin Made Lots Of Progress In 4.11
  2. Ubuntu Announces Carrier Advisory Group
  3. Qt 5.1 Release Candidate 1 Has Arrived
  4. In-Fighting Continues Over Mir On Non-Unity Ubuntu
  5. Subversion 1.8 Presents New Features
  6. LLVM 3.3 Officially Released
  7. LLVM/Clang Now Uses Loop Vectorizer At New Levels
  8. Intel GPU Driver Tries To Rip Out FBDEV Support
  9. Coreboot Doing AMD USB 3.0, Q35 QEMU Emulation
  10. VP9 Codec Now Enabled By Default In Chrome
  11. openSUSE 13.1 M2 Plays On PulseAudio 4.0
Latest Forum Talk
  1. Ubuntu Announces Carrier Advisory Group
  2. Planetary Annihilation Plans To Come To Linux
  3. LLVM 3.3 Officially Released
  4. Intel Haswell-Based Apple MacBook Air, HD 5000...
  5. Intel GPU Driver Tries To Rip Out FBDEV Support
  6. In-Fighting Continues Over Mir On Non-Unity Ubuntu
  1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Motherboards
  5. Peripherals
  6. Processors
  7. Software
  8. Operating Systems
  9. All Articles
  1. Linux Benchmarking
  2. OpenBenchmarking.org
  3. Phoronix Test Suite