summaryrefslogtreecommitdiff
path: root/gcc/ada/a-rbtgbo.adb
diff options
context:
space:
mode:
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2011-08-01 09:15:30 +0000
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2011-08-01 09:15:30 +0000
commiteeffeeaaf49c95490f8688c45d4f7423d349b478 (patch)
treef031722a9c7f798d32baccf705490bcd2256341b /gcc/ada/a-rbtgbo.adb
parenta1470075ffb69381240f59b17d18a37b273c28d4 (diff)
downloadgcc-eeffeeaaf49c95490f8688c45d4f7423d349b478.tar.gz
2011-08-01 Matthew Heaney <heaney@adacore.com>
* a-rbtgbo.adb (Delete_Node_Sans_Free): Fixed assignment to left child of node. 2011-08-01 Pascal Obry <obry@adacore.com> * a-stzunb-shared.adb, a-strunb-shared.adb, a-stwiun-shared.adb: Minor reformatting. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@177003 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/a-rbtgbo.adb')
-rw-r--r--gcc/ada/a-rbtgbo.adb2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ada/a-rbtgbo.adb b/gcc/ada/a-rbtgbo.adb
index 88743b3ce5b..60a84a0c397 100644
--- a/gcc/ada/a-rbtgbo.adb
+++ b/gcc/ada/a-rbtgbo.adb
@@ -330,7 +330,7 @@ package body Ada.Containers.Red_Black_Trees.Generic_Bounded_Operations is
Set_Right (N (Parent (N (Z))), Y);
end if;
- Set_Left (N (Y), Z);
+ Set_Left (N (Y), Left (N (Z)));
Set_Parent (N (Left (N (Y))), Y);
Set_Right (N (Y), Z);
Set_Parent (N (Z), Y);