tinycc-devel
[Top][All Lists]
Advanced

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

Re: [Tinycc-devel] TinyCC REPL


From: grischka
Subject: Re: [Tinycc-devel] TinyCC REPL
Date: Wed, 20 May 2015 15:17:12 +0200
User-agent: Thunderbird 2.0.0.23 (Windows/20090812)

David Mertens wrote:
@Everybody, Might there be a subtle bug in tcc's anonymous symbol checking, since it uses inequalities rather than querying bits directly?

No, not at all.  Say, you think that potentially 268 million symbols
in one source file could easily confuse anyone non-asperger and that
you want to limit the number to at most 50000, then you could change

    #define SYM_FIRST_ANOM 0x10000000
to
    #define SYM_FIRST_ANOM 50000

To the desired effect and without any problems, with the code
written as is ;).

--- gr




reply via email to

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