[Ada] Wrong walk order in Walk_Library_Items
authorArnaud Charlet <charlet@adacore.com>
Fri, 24 Jan 2020 16:58:35 +0000 (11:58 -0500)
committerPierre-Marie de Rodat <derodat@adacore.com>
Thu, 4 Jun 2020 09:11:08 +0000 (05:11 -0400)
commitc21938bee0d0a5cb3da442d3d4500d2eeb416b44
tree8d5d54dd0c83c1af229c5e08097b8d17e4d09ed6
parent1e01dddb44e051224239d44f6042a379cbf583ab
[Ada] Wrong walk order in Walk_Library_Items

2020-06-04  Arnaud Charlet  <charlet@adacore.com>

gcc/ada/

* sem.adb (Walk_Library_Items): Defer processing of main spec
after all other specs and before processing bodies.
gcc/ada/sem.adb