sem_util.adb (New_Copy_Tree): Put back the declarations of the hash tables at library...
authorArnaud Charlet <charlet@gcc.gnu.org>
Tue, 25 Apr 2017 10:46:54 +0000 (12:46 +0200)
committerArnaud Charlet <charlet@gcc.gnu.org>
Tue, 25 Apr 2017 10:46:54 +0000 (12:46 +0200)
commit1f0bcd44fe7967cd994a2a1d1397305b4b8f2e47
treed01a103f4c88276b34bddae9c806c035a89bc50b
parent62e45e3e7035eb7c668be8ec9988c57e2d4337f9
sem_util.adb (New_Copy_Tree): Put back the declarations of the hash tables at library level.

2017-04-25  Eric Botcazou  <ebotcazou@adacore.com>

* sem_util.adb (New_Copy_Tree): Put back the declarations of the
hash tables at library level.  Reinstate the NCT_Hash_Tables_Used
variable and set it to True whenever the main hash table is
populated.  Short- circuit the Assoc function if it is false
and add associated guards.

From-SVN: r247181
gcc/ada/ChangeLog
gcc/ada/bindgen.adb
gcc/ada/errout.adb
gcc/ada/exp_dbug.adb
gcc/ada/fname.adb
gcc/ada/sem_ch10.adb
gcc/ada/sem_util.adb