On Sep 8, 2008, at 1:43 PM, Paulo Marques wrote:


Hi all,

Yesterday I was tracking down a problem in a personal project of mine whose symptoms looked like a stack overflow.

As it turned out, it was the same problem with gcc that I had already read about on LKML: when gcc inlines a function it increases the stack usage of the caller by almost all the stack usage of the callee.

At AdaCore we have a tool (gnatstack) that compute the stack usage of a program. We have submitted (a long time ago) patches to gcc for this tool. IIRC they were never commented nor approved - lack of interests.

Tristan.



_______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.org
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Reply via email to