tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Tinycc-devel] Assertion Failed


From: Zhuo Zhang
Subject: [Tinycc-devel] Assertion Failed
Date: Thu, 11 Feb 2021 11:58:52 +0000

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






reply via email to

[Prev in Thread] Current Thread [Next in Thread]