Hi,

On Thu, 15 Dec 2016, grischka wrote:

> Michael Matz wrote:
> > * simple dead code optimization: in code like     if (1) ...
> >     else {stuff};
> >   don't emit anything for the else branch code (unless there's a different
> > way to enter this code, e.g. via a label).
> 
> Just occurs to me that I've seen such before, including function
>     static void remove_code(int t, int s);
> and all.
> 
> From http://lists.gnu.org/archive/html/tinycc-devel/2013-09/msg00119.html

Ah, I meanwhile completely forgot about that one.

> The mentioned patch (based on release_0_9_26) is attached.

Perhaps we can reimplement some ideas from that as separate patches.  It's 
unfortunately quite tied to the i386 backend currently.
Luckily the holiday season as around the corner :)


Ciao,
Michael.

_______________________________________________
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to