This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/29524] [4.2/4.3 Regression] Too much RAM used: __clz_tab[] linked
- From: "j at uriah dot heep dot sax dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Dec 2007 17:15:36 -0000
- Subject: [Bug target/29524] [4.2/4.3 Regression] Too much RAM used: __clz_tab[] linked
- References: <bug-29524-10671@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #15 from j at uriah dot heep dot sax dot de 2007-12-22 17:15 -------
(In reply to comment #14)
> Note that the use of clz for the avr is avoided by using avr-libc's math
> library.
Not confirmed. A simple test program using a floating point number:
#include <avr/io.h>
#include <math.h>
volatile float a;
int main (void)
{
a=ADCH;
}
results in 256 bytes of RAM allocation for __clz_tab[].
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29524