tinycc-devel
[Top][All Lists]
Advanced

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

[Tinycc-devel] Compilation of tcc with clang


From: Thomas Preud'homme
Subject: [Tinycc-devel] Compilation of tcc with clang
Date: Tue, 6 Mar 2012 12:16:28 +0100
User-agent: KMail/1.13.7 (Linux/3.2.0-1-amd64; KDE/4.6.5; x86_64; ; )

Greetings everybody,

a rebuild of Debian with clang was done recently and it led to a segmentation 
fault for tcc when running the test. Also, several warning were issued by 
clang, which is better than gcc for static analysis as far as I know. The full 
log is attached to this email.

An example of warning:

tccpp.c:924:22: warning: array index of '2' indexes past the end of an array 
(that contains 2 elements) [-Warray-bounds]
        str[len++] = cv->tab[2];

I didn't look more into it as I lack of time these days.

Best regards,

Thomas Preud'homme

Attachment: tcc_0.9.26~git20120104.83d57c0-4_amd64.build
Description: Text document

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

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