From Wikipedia, the free encyclopedia
  (Redirected from Compcert)
Jump to: navigation, search
Stable release 2.4 / September 2014
Type Compiler
License free for noncommercial use [1]

CompCert is a formally verified optimizing compiler for a subset of the C programming language which currently targets PowerPC, ARM and 32-bit x86 architectures.[2] This project, led by Xavier Leroy, started officially in 2005, funded by the French institutes ANR and INRIA. The compiler is specified, programmed and proved in Coq. It aims to be used for programming embedded systems requiring reliability. The performance of its generated code is often close to that of GCC (version 3) at optimization level -O1, and always better than that of GCC without optimizations.[3]

According to Andrew Appel, "Part of Leroy’s achievement is that he makes it look like it's not so difficult after all: now that he's found the right architecture for building verified compilers, everyone will know how to do it."[4]

Since 2015 AbsInt offers commercial licenses, provides industrial-strength support and maintenance, and contributes to the advancement of the tool.


  1. ^
  2. ^ CompCert Website
  3. ^ CompCert Performance
  4. ^ Appel, Andrew (July 7, 2008). "Foundational High-level Static Analysis". CAV 2008 Workshop on Exploiting Concurrency Efficiently and Correctly. 

External links[edit]