Go to file
Rui Ueyama 5257ee0f20 Make an array of at least 16 bytes long to have alignment of at least 16 bytes
Quote from AMD64 System V ABI: "An array uses the same alignment as
its elements, except that a local or global array variable of length
at least 16 bytes or a C99 variable-length array variable always has
alignment of at least 16 bytes."
2020-12-07 12:00:06 +09:00
include Add va_copy() 2020-12-07 12:00:06 +09:00
test Make an array of at least 16 bytes long to have alignment of at least 16 bytes 2020-12-07 12:00:06 +09:00
.gitignore Add stage2 build 2020-12-07 12:00:06 +09:00
LICENSE Add LICENSE and README.md 2020-10-07 20:13:25 +09:00
Makefile Turn on -Wall compiler flag and fix compiler warnings 2020-12-07 12:00:06 +09:00
README.md Add LICENSE and README.md 2020-10-07 20:13:25 +09:00
chibicc.h Turn on -Wall compiler flag and fix compiler warnings 2020-12-07 12:00:06 +09:00
codegen.c Make an array of at least 16 bytes long to have alignment of at least 16 bytes 2020-12-07 12:00:06 +09:00
main.c Ignore -O, -W and -g and other flags 2020-12-07 12:00:06 +09:00
parse.c Do not allow to obtain an address of a bitfield 2020-12-07 12:00:06 +09:00
preprocess.c Add -U option 2020-12-07 12:00:06 +09:00
strings.c Run "as" command unless -S is given 2020-12-07 12:00:06 +09:00
tokenize.c Tokenize numeric tokens as pp-numbers 2020-12-07 12:00:06 +09:00
type.c Add usual arithmetic conversion for function pointer 2020-12-07 12:00:06 +09:00

README.md

This is the reference implementation of https://www.sigbus.info/compilerbook.