]> git.ipfire.org Git - thirdparty/gcc.git/commit
ada: Remove obsolete code from Safe_Unchecked_Type_Conversion
authorEric Botcazou <ebotcazou@adacore.com>
Tue, 8 Jul 2025 19:40:44 +0000 (21:40 +0200)
committerMarc Poulhiès <dkm@gcc.gnu.org>
Tue, 22 Jul 2025 08:35:16 +0000 (10:35 +0200)
commit6a3abaf005f3d21eb261bd052d97dde2a87428e8
tree56cada6f5fe17c4347ef2ae41166205e6ae955c8
parent4de3be28bab44350548cb559b61f69cc040b4016
ada: Remove obsolete code from Safe_Unchecked_Type_Conversion

That's a kludge added to work around the limitations of the stack checking
mechanism used in the early days.

gcc/ada/ChangeLog:

* exp_util.ads (May_Generate_Large_Temp): Delete.
* exp_util.adb (May_Generate_Large_Temp): Likewise.
(Safe_Unchecked_Type_Conversion): Do not take stack checking into
account to compute the result.
gcc/ada/exp_util.adb
gcc/ada/exp_util.ads