Re: [Ada] Avoid use of secondary stack

2015-05-28 Thread Eric Botcazou
> This patch avoids the use of the secondary stack, and the corresponding > cleanup handlers, in many cases. For example, access discriminants no > longer force functions to return on the secondary stack. This is a speed > improvement. It is particularly relevant to the Ada.Containers. It also unc

[Ada] Avoid use of secondary stack

2015-05-28 Thread Arnaud Charlet
This patch avoids the use of the secondary stack, and the corresponding cleanup handlers, in many cases. For example, access discriminants no longer force functions to return on the secondary stack. This is a speed improvement. It is particularly relevant to the Ada.Containers. Tested on x86_64-pc

[Ada] Avoid use of secondary stack

2015-05-28 Thread Arnaud Charlet
This patch avoids the use of the secondary stack, and the corresponding cleanup handlers, in many cases. For example, access discriminants no longer force functions to return on the secondary stack. This is a speed improvement. It is particularly relevant to the Ada.Containers. Tested on x86_64-pc