]> git.ipfire.org Git - thirdparty/gcc.git/commit
ada: Follow-up adjustment to earlier fix in Build_Allocate_Deallocate_Proc
authorEric Botcazou <ebotcazou@adacore.com>
Sun, 11 Feb 2024 18:05:08 +0000 (19:05 +0100)
committerMarc Poulhiès <poulhies@adacore.com>
Tue, 14 May 2024 08:19:53 +0000 (10:19 +0200)
commit4f3567cf3b71ccf5447659a028d08429c2d30df7
tree785991428e01c7f06ed4750bcb14ef95bd1f1740
parent3f079f2244f088e5563d77da1430f804c38863b5
ada: Follow-up adjustment to earlier fix in Build_Allocate_Deallocate_Proc

The profile of the procedure built for an allocation on the secondary stack
now includes the alignment parameter, so the parameter can just be forwarded
in the call to Allocate_Any_Controlled.

gcc/ada/

* exp_util.adb (Build_Allocate_Deallocate_Proc): Pass the alignment
parameter in the inner call for a secondary stack allocation too.
gcc/ada/exp_util.adb