Last night I pushed a few commits to fix bugs uncovered by ASan and Valgrind. Comments and criticisms are welcome.
Here's how you can repeat the tests: # ASan: make clean ./configure make cp libtcc.a libtcc.a.hide make clean ./configure --extra-cflags="-fsanitize=address -g" make cp libtcc.a.hide libtcc.a make test # Valgrind: make clean ./configure make # This is because Valgrind does floating-point arithmetic differently: ( cd tests && gcc -I.. tcctest.c && valgrind -q ./a.out > test.ref ) make test TCC="valgrind -q --leak-check=full `pwd`/tcc -B`pwd` -I`pwd`" _______________________________________________ Tinycc-devel mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/tinycc-devel
