tinycc-devel
[Top][All Lists]
Advanced

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

Re: [Tinycc-devel] TCC - Problem


From: fabrice . bellard
Subject: Re: [Tinycc-devel] TCC - Problem
Date: Sat, 10 Aug 2002 01:57:49 +0200 (MEST)
User-agent: IMP/PHP IMAP webmail program 2.2.6

Currently tcc cannot compile itself with bound check enabled. It will be fixed
in next release. A pre version of 0.9.10 is available at

http://www.tinycc.org/tcc-0.9.10pre1.tar.gz.

In version 0.9.10pre1, tcc compiles correctly with bound checking and can even
generate binaries with bound checking code. When tcc is run with bound check
enabled, a legitimate error is reported at:

--
  vtop = vstack - 1;
--

It is a legitimate error in ANSI C because you are not allowed to move a pointer
below an array. I still don't know what is the best fix.

Fabrice.

Quoting Jens Arm <address@hidden>:

> Hi
> 
> If I do that I get an error:
> 
> > tcc -o tcctcc -ldl tcc.c
> > ./tcctcc -b tcc.c
> tcc: 'rt_error' defined twice
> 
> What's wrong here?
> 
> Jens
> 
> _______________________________________________
> Tinycc-devel mailing list
> address@hidden
> http://mail.freesoftware.fsf.org/mailman/listinfo/tinycc-devel
> 




reply via email to

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