]> gcc.gnu.org Git - gcc.git/commit
[Ada] Refine previous changes on making symbols public/private
authorArnaud Charlet <charlet@adacore.com>
Tue, 17 May 2022 12:22:20 +0000 (12:22 +0000)
committerPierre-Marie de Rodat <derodat@adacore.com>
Thu, 2 Jun 2022 09:06:42 +0000 (09:06 +0000)
commit615682bc665e17f5b38e12878a1fa98f5062b5e4
tree89d1f895502a56236054c7021b4c69b08552f363
parent017f48682c2498b4cde79cf6a1c2e09b6ad51e02
[Ada] Refine previous changes on making symbols public/private

Inline_Always procedures should be kept public for proper inter unit
inlining.

gcc/ada/

* sem_ch7.adb (Set_Referencer_Of_Non_Subprograms): New local
procedure, used for code refactoring. Also take into account
Inline_Always pragma when deciding to make a symbol public for
C generation.
gcc/ada/sem_ch7.adb
This page took 0.05638 seconds and 5 git commands to generate.