Curated source guide

GCC source explorer

Explore GCC 15.2 source with a guided compiler walkthrough. Trace the driver, front ends, GIMPLE and SSA passes, RTL, register allocation, machine descriptions, and regression tests.

View upstream repository

Guide chapters

  1. Chapter 1 — Set Up a Compiler Investigation
  2. Chapter 2 — Front Ends Turn Language Rules into Trees
  3. Chapter 3 — GIMPLE Makes Expressions Explicit
  4. Chapter 4 — SSA Connects Definitions, Uses, and Control Flow
  5. Chapter 5 — Pass Ordering and Invariants Shape Optimization
  6. Chapter 6 — RTL Connects Optimization to the Machine

Key directories

Loading source workspace

GCC source explorer

Explore GCC 15.2 source with a guided compiler walkthrough. Trace the driver, front ends, GIMPLE and SSA passes, RTL, register allocation, machine descriptions, and regression tests.