exp_ch8.adb (Expand_N_Package_Renaming_Declaration): In the case of a library-level...
authorGary Dismukes <dismukes@adacore.com>
Fri, 31 Aug 2007 10:22:39 +0000 (12:22 +0200)
committerArnaud Charlet <charlet@gcc.gnu.org>
Fri, 31 Aug 2007 10:22:39 +0000 (12:22 +0200)
commit25859971802e6c24a568b4370221e2112ea25953
treecdb270644b5755e0724d7f331087a6d8533ee6d2
parent55d4e6c0909277e0cd19e05de382ac87895b0db8
exp_ch8.adb (Expand_N_Package_Renaming_Declaration): In the case of a library-level package renaming...

2007-08-31  Gary Dismukes  <dismukes@adacore.com>

* exp_ch8.adb (Expand_N_Package_Renaming_Declaration): In the case of a
library-level package renaming, pass the declaration associated with
the renaming's special debug variable to Qualify_Entity_Names to ensure
that its encoded name is properly qualified.

* exp_dbug.adb (Qualify_All_Entity_Names): Check for a variable entity
occurring in the list of entities to qualify, and do not attempt to
traverse an entity list in that case. Variables associated with
` library-level package renamings can now occur in the table.

* exp_dbug.ads: Revise documentation of the encoding for renaming
declarations.

From-SVN: r127973
gcc/ada/exp_ch8.adb
gcc/ada/exp_dbug.adb
gcc/ada/exp_dbug.ads