Tests to explore when C compilers do Tail Call Optimization
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
chaining
locals
.gitignore
Makefile
README.md

README.md

c-tco-tests

Some simple programs to test the extent to which C compilers can perform Tail Call Optimisation.

Do:

$ make run CC=gcc CFLAGS=-O6

Or:

$ make run CC=clang CFLAGS=-O3