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. Intel Linux OpenGL Driver Leading Over Apple OS X
  2. The Cost Of Ubuntu Disk Encryption
  3. Btrfs vs. EXT4 vs. XFS vs. F2FS On Linux 3.10
  4. AMD Radeon R600 GPU LLVM 3.3 Back-End Testing
Latest Linux News
  1. Hot Relocation HDD To SSD Support For Btrfs
  2. Phoronix Test Suite 4.6.0 "Utsira" Released
  3. New Intel X.Org Driver Supports All Of Haswell
  4. SQLite Now Faster With Memory Mapped I/O
  5. Microsoft Releases Skype For Linux 4.2, Has Bug-Fixes
  6. Qt For Tizen Launches, Based On Qt 5.1
  7. KTAP Released For Linux Kernel Dynamic Tracing
  8. Linux 3.10-rc2 Kernel Takes In A Few Extra Pulls
  9. QEMU 1.5 Supports VGA Passthrough, Better USB 3.0
  10. Handbrake 0.9.9 Supports OpenCL Offloading
  11. Freedreno Gallium3D Now Banging The Adreno A3XX
Latest Forum Talk
  1. Intel Linux OpenGL Driver Leading Over Apple OS X
  2. Jolla Announces Their First Phone
  3. DragonFly 3.4 vs FreeBSD 9.1 on phoronix test...
  4. The Cost Of Ubuntu Disk Encryption
  5. Kubuntu, KDE Has Little Hope For Ubuntu's Mir
  6. Will Unreal Engine 4 Games Come To 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