The CompCert formally-verified C compiler
Repo AbsInt/CompCert, read from GitHub 1 d ago. AbsInt has not joined Take My Repo.
aligned attribute on bit fields in struct types.Elab.elab_initializer.Pjmptbl instruction: make sure the 32-bit argument is zero-extended to 64 bits before indexing in the jump table (#595)Mem.loadv, Mem.storev: explicit check that all addressed bytes are at offsets <= Ptrofs.max_unsignedfree, enforcing the requirement that the argument is a pointer obtained via malloc (#592)Iteration.WfIter without axioms, and make explicit the dependency of Iteration.GenIter on classical axioms.Iteration.CountedLoop and use them in ValueDomain.unknown-warning-option was not handled correctly.-fpic) (#551)-fpie) (#551).rodata section instead of .text section (#508)$ sign. This can cause errors with some assemblers, and is not ISO C.[*] array declarators, which was introduced in 3.15 (#539). They are usable only with variable-length arrays, which CompCert doesn't support.[static <size>] declarators occur only in function prototypes and only in outermost position, as prescribed by ISO C.#pragma directives that immediately follow a // single-line comment. (Affects only non-preprocessed .i input files; preprocessed .c files are not affected.)dollar-in-identifier-extension for identifiers that contain $ signs. (This is not ISO C, just a popular extension.)-W<unknown warning> is now a warning instead of an error; -Wno-<unknown warning> is silently ignored (#554).unknown-warning-option, so that warnings about unknown warnings can be ignored (-Wno-unknown-warning-option) or turned into an error (-Werror=unknown-warning-option) (#554).-shared and pass it to the linker.-pie and -no-pie and pass them to the linker.-MD and -MMD and pass them to the preprocessor.cc instead of gcc as the default preprocessor and linker.-z nobtcfi linker option. (This turns IBT/BTI off on OpenBSD, until it is properly supported by CompCert.)_Float16 type (half-precision FP numbers). Function declarations using _Float16 are correctly parsed, but any actual use of _Float16 is rejected later during compilation. (#525)static and *. These annotations are correctly parsed, but ignored during typing and compilation. (#539)_Bool type in the back-end and in the memory model._Bool.if.Load equations, making it possible to remove more redundant memory loads. (#518)&x == &x, which is either 1 or undefined, is now replaced by 1.(x ^ cst) != 0 into x != cst.if statements. (#519)$NNN identifiers in generated x86 and ARM assembly code (#541).int (*f(int y))(int x) { ... } (a function returning a pointer to a prototyped function).ccomp..i files) do not contain backslash-newline sequences../configure arm-linux now selects the hard-FP ABI, since Linux distributions no longer use the soft-FP ABI.free has well-defined semantics on blocks of size 0 (#509).sub instruction was generated for Pallocframe.memcpy if option -fno-fpu is given.-fstruct-return, deprecated since release 2.6.intuition tactic (#496 and more).git submodule init && git submodule update to download it._Noreturn on function definitions (but not declarations) was ignored sometimes.__builtin_va_end was discarded, is now evaluated for its side effects.va_list structure can get out of scope.wchar_t exactly like the ABI says. On most platforms, CompCert was defining wchar_t as signed int, but it must be unsigned int for AArch64-ELF and unsigned long for PowerPC-EABI.