M2-Planet
M2-Planet copied to clipboard
The PLAtform NEutral Transpiler
## Steps to reproduce 1. make 2. ```valgrind --leak-check=full --show-leak-kinds=all ./bin/M2-Planet -f ./test/test0002/if.c ``` ## Observed behavior valgrind reports leaks: ``` bash ==1435761== Memcheck, a memory error detector ==1435761== Copyright...
# Steps to reproduce 1. ```make``` 2. Using example code main.c: ``` C int my_spoon_is_too_big [0xFFFFFFFFFFFFFFFF ``` Compile it as: time ./bin/M2-Planet -f ./test/test_hang/main.c ## Observed behavior: 1. Compilation time...
While the code itself now lists supported architectures * X86 * AMD64 * ARM7L * KNIGHT_POSIX * KNIGHT_NATIVE with mangled versions of these (lower-case, hyphen-not-underbar) as command-line selections to the...
For some reason unxz from mescc-tools-extra crashes when it is build with M2-Planet. Luckily this is not super big problem when bootstrapping later stages as we can rebuild unxz with...
This caused a program as simple as ``` struct test { int testa; int testb; }; int main() { struct test; return 0; } ``` to fail.