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. Sumo Lounge Emperor
  2. Gallium3D Continues Improving OpenGL For Older Radeon GPUs
  3. 15-Way Open vs. Closed Source NVIDIA/AMD Linux GPU Comparison
  4. Nouveau vs. NVIDIA Linux Comparison Shows Shortcomings
Latest Software Articles
  1. Btrfs vs. EXT4 vs. XFS vs. F2FS On Linux 3.10
  2. AMD Radeon R600 GPU LLVM 3.3 Back-End Testing
  3. F2FS File-System Shows Regressions On Linux 3.10
  4. Previewing The Radeon Gallium3D Shader Optimizations
Latest Linux News
  1. Mageia 3 Released, Still Using Legacy GRUB
  2. NetBSD 6.1 Brings In More Features
  3. Using Six Monitors With AMD's Open-Source Linux Driver
  4. Benchmarking The Intel P-State, CPUfreq Changes
  5. FreeBSD Still Working On Next-Gen Package Manager
  6. DNF Still Advancing As Experimental Yum For Fedora
  7. Logitech Begins Supporting Linux Users
  8. Modern Intel Gallium3D Driver Still Being Toyed With
  9. Linux 3.10 Kernel Benchmarks On A Core i7 Laptop
  10. GCC 4.8.1 Compiler Due To Be Out Next Week
  11. Linux 3.10 Kernel Benchmarks For Intel Ivy Bridge
Latest Forum Talk
  1. Mageia 3 Released, Still Using Legacy GRUB
  2. Logitech Begins Supporting Linux Users
  3. Btrfs vs. EXT4 vs. XFS vs. F2FS On Linux 3.10
  4. Kubuntu, KDE Has Little Hope For Ubuntu's Mir
  5. OpenSUSE Considers Replacing LXDE With E17
  6. Using Six Monitors With AMD's Open-Source Linux...
  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