[Bug target/29524] [4.2/4.3 Regression] Too much RAM used: __clz_tab[] linked

j at uriah dot heep dot sax dot de gcc-bugzilla@gcc.gnu.org
Sat Dec 22 17:15:00 GMT 2007



------- 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



More information about the Gcc-bugs mailing list