[Ada] Tidy up freezing code for instantiations (continued)

2021-12-01 Thread Pierre-Marie de Rodat via Gcc-patches
This re-alphabetizes local subprograms after the previous change. Tested on x86_64-pc-linux-gnu, committed on trunk gcc/ada/ * sem_ch12.adb (Freeze_Package_Instance): Move up. patch.diff.gz Description: application/gzip

[Ada] Tidy up freezing code for instantiations

2021-12-01 Thread Pierre-Marie de Rodat via Gcc-patches
This cleans up the code implementing freezing for instantiations, in order to clearly separate it from semantic analysis and to make the package and subprogram paths more alike. No functional changes. Note that a couple of subprograms are renamed but not re-alphabetized to avoid making the change