[Top][All Lists]

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

RE: [avr-gcc-list] optimizer

From: E. Weddington
Subject: RE: [avr-gcc-list] optimizer
Date: Fri, 26 Nov 2004 07:31:30 -0700

On 24 Nov 2004 at 15:08, Bernard Fouché wrote:

> Another optimization I saw on the ICC compiler (I think) was that the
> compiler, when asked for space optimization, used if possible the end of
> another function if the code was the same.

For GCC to have the same kind of optimization, it will have to be later. The 
architecture of GCC is changing for 4.0.x (the next series after 3.4.x). And 
perhaps it might
allow such an optimization to be written in the future.

> At last I ran again into a situation where I have no .data segment but the
> linker brings in the code to initialize this segment anyway.

Are you talking about the __do_copy_data (IIRC) identifier? If so, this is a 
known issue. The fix
actually needs to be done in gcc.


reply via email to

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