tinycc-devel
[Top][All Lists]
Advanced

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

Re: [Tinycc-devel] TCC bug


From: Fabrice Bellard
Subject: Re: [Tinycc-devel] TCC bug
Date: Thu, 06 Feb 2003 22:52:42 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.1) Gecko/20020828

OK. It will be fixed in next release.

Fabrice.

Pedro A. Aranda GutiƩrrez wrote:
Hi folks,

I'm using TCC-0.9.16 and in one of my 'think faster than
write' pahses I've stumbled across a bug:

This simple program causes a segmentation fault instead
of giving a compiler error both as a shell script and
when compiling with tcc:

-------- segmfault.c -----
#!/usr/local/bin/tcc

#include <tcclib.h>

int main(int argc, char **argv)
{
    struct *slowfinger;

    printf( "I should get an error message\n"
        " and not a segmentation fault!!\n");
}
---------------------------

In a similar situation, GCC says:

segmfault.c: In function 'main'
segmfault.c:7: parse error before '*' token






reply via email to

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