tinycc-devel
[Top][All Lists]
Advanced

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

Re: [Tinycc-devel] Compiling qemu-0.8.2 with tcc (yes, I am insane).


From: Daniel Glöckner
Subject: Re: [Tinycc-devel] Compiling qemu-0.8.2 with tcc (yes, I am insane).
Date: Fri, 13 Oct 2006 06:41:09 +0200
User-agent: Mutt/1.4.2.1i

On 12 Oct 06 17:11, Rob Landley wrote:
> and teaching it about dead code elimination are higher priority for me
> than most other things.

Isn't that easy to do.
Think about

if(0) {
 ...
label:
 ...
}
...
goto label;

You may not discard the contents of the "if" until you are shure that the
label won't be called.

If C had no "goto" or "switch", setting nocode_wanted would have sufficed.

  Daniel




reply via email to

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