summaryrefslogtreecommitdiff
path: root/gcc/ada/a-crdlli.ads
diff options
context:
space:
mode:
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2014-07-30 15:17:33 +0000
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2014-07-30 15:17:33 +0000
commit5c2a5da8fe7c9830b10343404266067bb1243e45 (patch)
tree0642edd4a753596c880abaf39ba029b60bd63cc9 /gcc/ada/a-crdlli.ads
parent30f472afd9da36b6c8168d6759ec4a4555c137a2 (diff)
downloadgcc-5c2a5da8fe7c9830b10343404266067bb1243e45.tar.gz
2014-07-30 Ed Schonberg <schonberg@adacore.com>
* a-crdlli.ads: Place declaration of Empty_List after full type declaration for Curosr, to prevent freezing error. 2014-07-30 Robert Dewar <dewar@adacore.com> * get_targ.adb: Minor code reorganization. * prj-proc.adb, prj-proc.ads, get_targ.ads, sem_ch6.adb: Minor reformatting. 2014-07-30 Ed Schonberg <schonberg@adacore.com> * a-cbhase.adb: a-cbhase.adb (Insert): Raise Constraint_Error, not Program_Error, when attempting to remove an element not in the set. This is the given semantics for all set containers. 2014-07-30 Ed Schonberg <schonberg@adacore.com> * a-rbtgbo.adb: -rbtgbo.adb (Delete_Node_Sans_Free): If element is not present in tree return rather than violating an assertion. Constraint_Error will be raised in the caller if element is not in the container. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@213300 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/a-crdlli.ads')
-rw-r--r--gcc/ada/a-crdlli.ads6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/ada/a-crdlli.ads b/gcc/ada/a-crdlli.ads
index f2b58656749..c18005fc720 100644
--- a/gcc/ada/a-crdlli.ads
+++ b/gcc/ada/a-crdlli.ads
@@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
--- Copyright (C) 2004-2009, Free Software Foundation, Inc. --
+-- Copyright (C) 2004-2014, 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- --
@@ -321,8 +321,6 @@ private
Length : Count_Type := 0;
end record;
- Empty_List : constant List := (0, others => <>);
-
type List_Access is access all List;
for List_Access'Storage_Size use 0;
@@ -332,6 +330,8 @@ private
Node : Count_Type := 0;
end record;
+ Empty_List : constant List := (0, others => <>);
+
No_Element : constant Cursor := (null, 0);
end Ada.Containers.Restricted_Doubly_Linked_Lists;