From d3b00ce368f3d32a4db4dac4538a90920f6365ef Mon Sep 17 00:00:00 2001 From: Arnaud Charlet Date: Tue, 12 Jun 2012 13:09:10 +0200 Subject: [multiple changes] 2012-06-12 Robert Dewar * sem_dist.adb, exp_ch7.adb, sem_type.adb, exp_attr.adb, sinfo.ads, sem_ch7.adb, exp_alfa.adb, sem_scil.adb, sem_ch12.adb, sem_util.adb, sem_res.adb, sem_attr.adb, sem_elab.adb, exp_ch6.adb, sem_ch4.adb, sem_warn.adb, scil_ll.adb, exp_cg.adb: Minor code reorganization. 2012-06-12 Eric Botcazou * s-tasini.ads: Minor fix in comment. 2012-06-12 Thomas Quinot * freeze.adb (Freeze_Record_Type): Warn on record with Scalar_Storage_Order if there is no placed component. 2012-06-12 Thomas Quinot * sem_ch3.adb: Minor comment fix. 2012-06-12 Vincent Celier * ali-util.adb (Time_Stamp_Mismatch): In minimal recompilation mode, use Stringt Mark and Release to avoid growing the Stringt internal tables uselessly. * stringt.adb (Strings_Last): New global variable (String_Chars_Last): New global variable. (Mark, Release): New procedures. * stringt.ads (Mark, Release) New procedures. From-SVN: r188445 --- gcc/ada/sem_dist.adb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/ada/sem_dist.adb') diff --git a/gcc/ada/sem_dist.adb b/gcc/ada/sem_dist.adb index 072efa2..678a600 100644 --- a/gcc/ada/sem_dist.adb +++ b/gcc/ada/sem_dist.adb @@ -242,7 +242,7 @@ package body Sem_Dist is Par : Node_Id; begin - if Nkind_In (N, N_Function_Call, N_Procedure_Call_Statement) + if Nkind (N) in N_Subprogram_Call and then Nkind (Name (N)) in N_Has_Entity and then Is_Remote_Call_Interface (Entity (Name (N))) and then Has_All_Calls_Remote (Scope (Entity (Name (N)))) -- cgit v1.1