Been Looking how gcc operates there is a major weaknesses in its optimiser.

Peter Dolding oiaohm@gmail.com
Mon Mar 17 00:56:00 GMT 2008


Ian Lance Taylor wrote:
> "Peter Dolding" <oiaohm@gmail.com> writes:
>
>   
>> Since test is in a different object file it gets completely skiped
>> from optimising even that it should be optimised out.
>>     
>
> http://gcc.gnu.org/wiki/LTO_Driver
>
> Ian
>   
Ok that is half my idea.  Let it sort out at link stage.  But that does 
not cover like libc and dynamic dependencies.

The advantage of being able to generate list of solvable with what is 
needed to solve allowed smallest and fastest code possible.

Just like now gcc can solve maths functions.   Solvable storage of some 
form allows same kind of solve functions to be done with all libs on the 
system.

Yes I never found that page.

Peter Dolding



More information about the Gcc mailing list