summaryrefslogtreecommitdiff
path: root/gcc/ada/exp_ch4.adb
diff options
context:
space:
mode:
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2009-06-24 09:15:17 +0000
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2009-06-24 09:15:17 +0000
commit4cfdbc0c549008316921cb7b9bad963c09ba0789 (patch)
tree457c6c4d8bef46c8bb6dd48f175232555e39ec22 /gcc/ada/exp_ch4.adb
parent45cedf2ed41b5c0b4c28fb5d8105f38339277c0b (diff)
downloadgcc-4cfdbc0c549008316921cb7b9bad963c09ba0789.tar.gz
2009-06-24 Javier Miranda <miranda@adacore.com>
* exp_ch4.adb (Expand_N_Type_Conversion): return immediately from processing the type conversion when the node is replaced by an N_Raise_Program_Error node. 2009-06-24 Hristian Kirtchev <kirtchev@adacore.com> * sem_ch6.adb (Designates_From_With_Type): New routine. (Process_Formals): Since anonymous access types are no longer flagged as from with types, traverse the designated type to determine whether it is coming from a limited view. * sem_res.adb: Remove with and use clauses for Sem_Ch10. (Full_Designated_Type): Use Available_View to extract the non-limited / full view of a type. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@148899 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/exp_ch4.adb')
-rw-r--r--gcc/ada/exp_ch4.adb2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/ada/exp_ch4.adb b/gcc/ada/exp_ch4.adb
index 507ccad5005..1862cb5d9aa 100644
--- a/gcc/ada/exp_ch4.adb
+++ b/gcc/ada/exp_ch4.adb
@@ -7860,6 +7860,8 @@ package body Exp_Ch4 is
Make_Raise_Program_Error (Sloc (N),
Reason => PE_Accessibility_Check_Failed));
Set_Etype (N, Target_Type);
+
+ return;
end if;
end if;