[Ada] Fix tree for expanded instantiations corresponding to formal packages
authorArnaud Charlet <charlet@adacore.com>
Mon, 2 Nov 2020 11:21:45 +0000 (06:21 -0500)
committerPierre-Marie de Rodat <derodat@adacore.com>
Fri, 27 Nov 2020 09:15:43 +0000 (04:15 -0500)
commit78287696dc5f788b28f8541c93809e002f722f81
treed6dd75b389b3bde7ab5cd8da67cca1c03ac77e15
parent94a5437d3b4f531faf2e3f49b26579cb06fd0aa5
[Ada] Fix tree for expanded instantiations corresponding to formal packages

gcc/ada/

* sem_ch12.adb (Instantiate_Object): Consistently use
New_Copy_Tree instead of New_Copy.
gcc/ada/sem_ch12.adb