|
From: | Tristan Gingold |
Subject: | Re: [avr-gcc-list] Stack usage under heavy inlining |
Date: | Mon, 8 Sep 2008 17:15:45 +0200 |
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.
[Prev in Thread] | Current Thread | [Next in Thread] |