[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] inline assembly and optimization passes
From: |
Vittorio Giovara |
Subject: |
Re: [Tinycc-devel] inline assembly and optimization passes |
Date: |
Mon, 23 Sep 2013 17:05:35 +0200 |
On Mon, Sep 23, 2013 at 3:45 PM, Thomas Preud'homme <address@hidden> wrote:
> Le lundi 23 septembre 2013 14:31:04 Vittorio Giovara a écrit :
>>
>> In my opinion, tinycc can remain without optimizations because it is
>> not one of the compiler design goals.
>> However there is one optimization that's more like a feature these
>> days: dead code elimination.
>> There are quite a few programs that completely rely on that and when
>> compiled with tcc plainly fail with a 'undefined symbol' error for
>> functions that are actually unused.
>>
>> It would be really nice to have some compiler switch (if not
>> integrated) that enable this functionality.
>
> Patches are welcome :)
Umh, why not, can you give me a few pointers?
Never touched compiler code so in depth, I'll need some hand-holding ;)
Vittorio