Hi,

I find there is an assertion failure in current tcc code.


$ cat poc.c
int a = b(c() * 1e678);

$ ./tcc -c poc.c
test.c:1: warning: implicit declaration of function 'b'
test.c:1: warning: implicit declaration of function 'c'
tcc: x86_64-gen.c:530: load: Assertion `(v >= TREG_XMM0) && (v <= TREG_XMM7)' 
failed.
[1]    6773 abort (core dumped)  /root/git/test_tinycc/tcc -c test.c


I use tcc at commit fbef90a7039b994907db34fde50f6fa5e46ab535, because I cannot 
successfully compile tcc with the newest commit. My system version is ubuntu 
18.04, x86-64.

Best,
Zhuo




_______________________________________________
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to