[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] quality of gcc-4.1 vs 4.2
From: |
Francesco Sacchi |
Subject: |
Re: [avr-gcc-list] quality of gcc-4.1 vs 4.2 |
Date: |
Fri, 10 Nov 2006 09:21:57 +0100 |
User-agent: |
Mozilla Thunderbird 1.5.0.8 (X11/20061107) |
Rolf Ebert wrote:
Does anybode else?
Yes, I tried to compile some gcc-4.1.1 projects with 4.2.
The code generated is quite the same as 4.1.1 but RAM occupation is
increased by 256 byte. This is due to __clz_tab linking. This tab is
used frequently by the compiler to Count Leading zeros. That should not
be linked if you use -Os and use a function call instead. But some times
it is, regardless of -Os option. I've posted a bug report and trying to
build a suitable testcase, but I've not so much time right now.
If somebody else would try, will be very appreciated.
--
_|/ Francesco Sacchi - Develer S.r.l., R&D dept.
|\ http://www.develer.com/