[Ada] Better error message for aliased formal and atomic actual
authorEric Botcazou <ebotcazou@adacore.com>
Fri, 13 Dec 2019 09:05:23 +0000 (09:05 +0000)
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>
Fri, 13 Dec 2019 09:05:23 +0000 (09:05 +0000)
commite1e1e53a4861f5addee43088de14dadf47892f23
tree0d879d83b4462a31dcfa125bba697dc1109fd5dd
parenta35c1b077e32e4b552dd1d0f2385a3885fcabf4b
[Ada] Better error message for aliased formal and atomic actual

2019-12-13  Eric Botcazou  <ebotcazou@adacore.com>

gcc/ada/

* sem_res.adb (Resolve_Actuals): Give canonical error for
illegal case of atomic/volatile parameter also if the formal is
aliased.

From-SVN: r279364
gcc/ada/ChangeLog
gcc/ada/sem_res.adb