ada: Fix missing tag for with of an obsolescent function
authorPiotr Trojanek <trojanek@adacore.com>
Wed, 7 Sep 2022 13:01:16 +0000 (15:01 +0200)
committerMarc Poulhiès <poulhies@adacore.com>
Mon, 7 Nov 2022 08:36:29 +0000 (09:36 +0100)
commitc7dc111e9d8e2eb83e45870a98c193f2fd681313
treeae965e26f1fcd165253721bd440da787865eb828
parentf74a049a5371d421c5f4637dfae1ce0afc8a01ff
ada: Fix missing tag for with of an obsolescent function

Fix minor inconsistency in tags of warnings about obsolescent entities.

Part of cleaning up the warnings machinery to better handle references
to unset objects.

gcc/ada/

* sem_warn.adb (Output_Obsolescent_Entity_Warnings): Tag warnings
about obsolescent functions just like we tag similar warnings for
packages and procedures.
gcc/ada/sem_warn.adb