tinycc-devel
[Top][All Lists]
Advanced

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

Re: [Tinycc-devel] Bug in tcc


From: Bernhard Fischer
Subject: Re: [Tinycc-devel] Bug in tcc
Date: Mon, 26 Sep 2005 20:27:28 +0200
User-agent: Mutt/1.5.9i

On Mon, Sep 26, 2005 at 02:19:53PM +0400, PerfectDark wrote:
>Just try to compile (tcc -c) following file:
>
>//-------------------------------------------
>//begin
>void foo(SomethingUnknownType* x)
>{
>}
>//end
>//-------------------------------------------
>
>Somehow tcc crushes, and then stackdump file created

I cannot reproduce this. Compiled tcc with current gcc:
$ cat untyped.c 
void foo(unknown_t *u){;}
$ ./tcc -c untyped.c ; echo $?
untyped.c:1: ',' expected
1
$ gcc-4.x -c untyped.c ; echo $?
untyped.c:1: error: expected ')' before '*' token
1

perhaps check your bootstrap compiler.
HTH,
Bernhard




reply via email to

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