diff options
author | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-12-13 10:25:50 +0000 |
---|---|---|
committer | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-12-13 10:25:50 +0000 |
commit | 614d9f2814af49fecd377f152c761dc9982d065a (patch) | |
tree | 21f162f9ce7b625ec950f58e55711ef6c7f94898 /gcc/ada/exp_ch8.ads | |
parent | 7985fb9d646fd6055628289c26e20bd20488ab49 (diff) | |
download | ppe42-gcc-614d9f2814af49fecd377f152c761dc9982d065a.tar.gz ppe42-gcc-614d9f2814af49fecd377f152c761dc9982d065a.zip |
2007-12-06 Gary Dismukes <dismukes@adacore.com>
* exp_ch8.ads, exp_ch8.adb (Expand_N_Subprogram_Renaming_Declaration):
In the case where the renamed subprogram is a dereference, call
Force_Evaluation on the prefix.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@130833 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/exp_ch8.ads')
-rw-r--r-- | gcc/ada/exp_ch8.ads | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/ada/exp_ch8.ads b/gcc/ada/exp_ch8.ads index 0c6a26240c5..7df54f3069a 100644 --- a/gcc/ada/exp_ch8.ads +++ b/gcc/ada/exp_ch8.ads @@ -31,4 +31,5 @@ package Exp_Ch8 is procedure Expand_N_Exception_Renaming_Declaration (N : Node_Id); procedure Expand_N_Object_Renaming_Declaration (N : Node_Id); procedure Expand_N_Package_Renaming_Declaration (N : Node_Id); + procedure Expand_N_Subprogram_Renaming_Declaration (N : Node_Id); end Exp_Ch8; |