From Wikipedia, the free encyclopedia
(Redirected from Compcert)
Original author(s)Xavier Leroy
Initial release2005; 19 years ago (2005)
Stable release
3.12 / 25 November 2022; 4 July 2023[1][2]
Licensefree for noncommercial use[3] Edit this at Wikidata

CompCert is a formally verified optimizing compiler for a large subset of the C99 programming language (known as Clight) which currently targets PowerPC, ARM, RISC-V, x86 and x86-64[4] architectures.[5] This project, led by Xavier Leroy, started officially in 2005, funded by the French institutes ANR and INRIA. The compiler is specified, programmed and proven 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.[6]

Since 2015, AbsInt offers commercial licenses,[7] provides support and maintenance, and contributes to the advancement of the tool. CompCert is released under a noncommercial license, and is therefore not free software, although some of its source files are dual-licensed with the GNU Lesser General Public License version 2.1 or later or are available under the terms of other licenses.[3]

For the development of CompCert, the first practically useful optimizing compiler targeting multiple commercial architectures that has a complete, mechanically checked proof of its correctness, Xavier Leroy and the development team of CompCert received the 2021 ACM Software System Award.


  1. ^ "Release 3.12". 25 November 2022. Retrieved 8 December 2022.
  2. ^ "Release 3.13". 4 July 2023. Retrieved 2 November 2023.
  3. ^ a b "CompCert License".
  4. ^ v3.0 Release Notes
  5. ^ CompCert Website
  6. ^ CompCert Performance
  7. ^ "CompCert - Partners". Retrieved 2019-03-21.

External links[edit]