Re: [Ada] Fix unexpectedly large frame with calls manipulating strings

2016-03-01 Thread Eric Botcazou
> This new test fails for me with -m32. Thanks for the heads up, fixed thusly, applied. 2016-03-01 Eric Botcazou * gnat.dg/stack_usage3.adb: Robustify and enable for all targets. -- Eric BotcazouIndex: gnat.dg/stack_usage3.adb ==

Re: [Ada] Fix unexpectedly large frame with calls manipulating strings

2016-03-01 Thread Tom de Vries
On 29-02-16 10:17, Eric Botcazou wrote: Another long-standing regression present in the compiler (dating back to the Tree-SSA merge): the compiler generates code that has an unexpectedly large stack usage for nested calls on strings, because the gimplifier creates temporaries in the outermost sco

[Ada] Fix unexpectedly large frame with calls manipulating strings

2016-02-29 Thread Eric Botcazou
Another long-standing regression present in the compiler (dating back to the Tree-SSA merge): the compiler generates code that has an unexpectedly large stack usage for nested calls on strings, because the gimplifier creates temporaries in the outermost scope that have overlapping live ranges.