[Ada] Avoid spurious mismatch error of assertion policy in generics
authorYannick Moy <moy@adacore.com>
Fri, 13 Dec 2019 09:04:58 +0000 (09:04 +0000)
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>
Fri, 13 Dec 2019 09:04:58 +0000 (09:04 +0000)
commitde12d07e93ca47cacbbeda1107e7cc3b6af9ad63
tree7239ff004511d31c45c55a907996fe19b50ad350
parent8973b987b6e8a33560a20723d2d32275ee86e907
[Ada] Avoid spurious mismatch error of assertion policy in generics

2019-12-13  Yannick Moy  <moy@adacore.com>

gcc/ada/

* sem_util.adb (Original_Aspect_Pragma_Name): Go through
Original_Node for pragma.

From-SVN: r279359
gcc/ada/ChangeLog
gcc/ada/sem_util.adb