[Ada] Update 'Loop_Entry checking to match changes in 'Old rules.
authorSteve Baird <baird@adacore.com>
Fri, 27 Mar 2020 22:50:29 +0000 (15:50 -0700)
committerPierre-Marie de Rodat <derodat@adacore.com>
Mon, 15 Jun 2020 08:04:18 +0000 (04:04 -0400)
commit1fab710d0694d487fbd4943cdec240f2dcfda496
tree4c73ffbce1d77b812616845744670201139cc8e5
parentba621931790224d5d4c060fa7bdaa5763c3202a2
[Ada] Update 'Loop_Entry checking to match changes in 'Old rules.

2020-06-15  Steve Baird  <baird@adacore.com>

gcc/ada/

* sem_attr.adb (Analyze_Attribute): In the Loop_Entry case,
replace a call to Statically_Denotes_Object with a call to
Statically_Names_Object and clean up the preceding comment.
gcc/ada/sem_attr.adb