[Bug target/52488] avr-*: internal compiler error: in extract_insn, at recog.c:2123

eric.weddington at atmel dot com gcc-bugzilla@gcc.gnu.org
Tue Mar 13 05:38:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52488

--- Comment #8 from Eric Weddington <eric.weddington at atmel dot com> 2012-03-13 05:37:45 UTC ---
(In reply to comment #7)
> ../../../../../../gcc-4.7.0-RC-20120302/newlib/libc/posix/glob.c:206:1: error:
> allocating 2050 bytes of stack is more than 'at90s2313' can provide
> make[8]: *** [lib_a-glob.o] Error 1
> 
> => Progress, at least no ICE. 
> 
> However, this warning still leaves users in unclearity as GCC doesn't tell the
> maximum of stack it can provide.

You can look up in the device datasheet to see how much RAM it has. 

Or do you want GCC to print out how much RAM each device has?

> 
> > or whatever and
> > tries to build insane code with 2050 bytes of stack for device(s) with only 128
> > bytes of RAM.
> Well, my view is different: The avr's default set of multilib variants is
> non-suitable as general default set of multlib variants. It probably is
> suiteable as set of multilibs for bare-metal targets, but does not meet the
> demands of OSes. 

Do you have recommendations? Or better still, a patch?



More information about the Gcc-bugs mailing list