]> 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)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Tue, 22 Jul 2025 10:12:02 +0000 (12:12 +0200)
commit0bccb1eb75549db809e0685557dcce65798bf746
tree472330a57cbda38e992234300d21aa4c2e907ba7
parent2b05983ca270f1dae905d987415b3e624d17ceb2
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