[Ada] Spurious warning about change of representastion in call
authorEd Schonberg <schonberg@adacore.com>
Thu, 12 Dec 2019 10:03:53 +0000 (10:03 +0000)
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>
Thu, 12 Dec 2019 10:03:53 +0000 (10:03 +0000)
commit8d9cf0a3b3e5629be6ff87f0db8232867555ece8
tree46f20de138cb02c9b0eac3cbf1382c7bc877cb66
parent4dd8320fbb787527b417ba7e69ae3786b511e813
[Ada] Spurious warning about change of representastion in call

2019-12-12  Ed Schonberg  <schonberg@adacore.com>

gcc/ada/

* sem_ch13.adb (Same_Reprewentation): if the actual in a call is
a generic actual type, use its bsae type to determine whether a
change of representastion may be necessary for proper parameter
passing.

From-SVN: r279305
gcc/ada/ChangeLog
gcc/ada/sem_ch13.adb