summaryrefslogtreecommitdiffstats
path: root/gcc/ada/exp_disp.adb
diff options
context:
space:
mode:
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2010-10-08 12:40:25 +0000
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2010-10-08 12:40:25 +0000
commitb46aca2b7e2328551b6d12b8a37e48c8083b16bb (patch)
treee6822a354998f958f9429dbfd7485c85936e5cb8 /gcc/ada/exp_disp.adb
parent4b30b6a13dc9d8eca4977e0acd65b9048ccb5700 (diff)
downloadppe42-gcc-b46aca2b7e2328551b6d12b8a37e48c8083b16bb.tar.gz
ppe42-gcc-b46aca2b7e2328551b6d12b8a37e48c8083b16bb.zip
2010-10-08 Robert Dewar <dewar@adacore.com>
* par-ch3.adb: Minor reformatting. 2010-10-08 Javier Miranda <miranda@adacore.com> * exp_disp.adb (Make_DT): Do not generate dispatch tables for CIL/Java types. 2010-10-08 Robert Dewar <dewar@adacore.com> * par-ch8.adb (P_Use_Type_Clause): Recognize ALL keyword in Ada 2012 mode. * sinfo.adb (Use_Type_Clause): Add All_Present flag. * sinfo.ads (Use_Type_Clause): Add All_Present flag. * s-rident.ads: Add entry for No_Allocators_After_Elaboration, No_Anonymous_Allocators. 2010-10-08 Vincent Celier <celier@adacore.com> * bindgen.adb (Gen_Restrictions_Ada): No new line after last restriction, so that the last comma is always replaced with a left parenthesis. 2010-10-08 Javier Miranda <miranda@adacore.com> * sem_prag.adb (Analyze_Pragma): Add specific check on the type of the first formal of delegates. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165169 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/exp_disp.adb')
-rw-r--r--gcc/ada/exp_disp.adb2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/ada/exp_disp.adb b/gcc/ada/exp_disp.adb
index af3a0b38536..d783cda519e 100644
--- a/gcc/ada/exp_disp.adb
+++ b/gcc/ada/exp_disp.adb
@@ -4316,6 +4316,8 @@ package body Exp_Disp is
if Has_Dispatch_Table (Typ)
or else No (Access_Disp_Table (Typ))
or else Is_CPP_Class (Typ)
+ or else Convention (Typ) = Convention_CIL
+ or else Convention (Typ) = Convention_Java
then
return Result;
OpenPOWER on IntegriCloud