summaryrefslogtreecommitdiff
path: root/gcc/ada/exp_dist.adb
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ada/exp_dist.adb')
-rw-r--r--gcc/ada/exp_dist.adb9
1 files changed, 5 insertions, 4 deletions
diff --git a/gcc/ada/exp_dist.adb b/gcc/ada/exp_dist.adb
index c0d79d12d22..a4fbe7c776d 100644
--- a/gcc/ada/exp_dist.adb
+++ b/gcc/ada/exp_dist.adb
@@ -6,9 +6,9 @@
-- --
-- B o d y --
-- --
--- $Revision: 1.125 $
+-- $Revision$
-- --
--- Copyright (C) 1992-2001 Free Software Foundation, Inc. --
+-- Copyright (C) 1992-2002 Free Software Foundation, Inc. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
@@ -58,7 +58,7 @@ package body Exp_Dist is
-- form:
-- type Stub is tagged record
-- [...declaration similar to s-parint.ads RACW_Stub_Type...]
- -- end Stub;
+ -- end record;
-- is built. This type has two properties:
--
-- 1) Since it has the same structure than RACW_Stub_Type, it can be
@@ -2635,7 +2635,8 @@ package body Exp_Dist is
Append_To (Decls,
Make_Raise_Constraint_Error (Loc,
Condition =>
- Make_Op_Not (Loc, Right_Opnd => Condition)));
+ Make_Op_Not (Loc, Right_Opnd => Condition),
+ Reason => CE_Partition_Check_Failed));
end Insert_Partition_Check;
-- Start of processing for Build_Subprogram_Calling_Stubs