From 5039558ddbb9adb612de258b85c399836c7910ea Mon Sep 17 00:00:00 2001 From: charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> Date: Tue, 14 Aug 2007 08:45:48 +0000 Subject: 2007-08-14 Bob Duff <duff@adacore.com> * a-cihama.ads, a-cidlli.ads, a-chtgop.ads, a-chtgop.adb, a-cdlili.ads, a-cihase.adb, a-cihase.ads, a-cohase.adb, a-cohase.ads, a-ciorma.ads, a-coorma.ads, a-ciormu.ads, a-coormu.ads, a-ciorse.ads, a-cohama.ads, a-cohata.ads, a-convec.adb, a-coinve.ads, a-coinve.adb, a-convec.ads, a-coorse.ads (Next): Applied pragma Inline. Make all Containers packages Remote_Types (unless they are already Pure). (Previous): applied pragma Inline (Elements_Type): is now a record instead of an array git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@127441 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ada/a-cihase.adb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'gcc/ada/a-cihase.adb') diff --git a/gcc/ada/a-cihase.adb b/gcc/ada/a-cihase.adb index 12acb459eb5..8de25a84efc 100644 --- a/gcc/ada/a-cihase.adb +++ b/gcc/ada/a-cihase.adb @@ -7,7 +7,7 @@ -- -- -- B o d y -- -- -- --- Copyright (C) 2004-2006, Free Software Foundation, Inc. -- +-- Copyright (C) 2004-2007, 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- -- @@ -340,7 +340,7 @@ package body Ada.Containers.Indefinite_Hashed_Sets is declare Size : constant Hash_Type := Prime_Numbers.To_Prime (Left.Length); begin - Buckets := new Buckets_Type (0 .. Size - 1); + Buckets := HT_Ops.New_Buckets (Length => Size); end; Length := 0; @@ -817,7 +817,7 @@ package body Ada.Containers.Indefinite_Hashed_Sets is declare Size : constant Hash_Type := Prime_Numbers.To_Prime (Length); begin - Buckets := new Buckets_Type (0 .. Size - 1); + Buckets := HT_Ops.New_Buckets (Length => Size); end; Length := 0; @@ -1372,7 +1372,7 @@ package body Ada.Containers.Indefinite_Hashed_Sets is Size : constant Hash_Type := Prime_Numbers.To_Prime (Left.Length + Right.Length); begin - Buckets := new Buckets_Type (0 .. Size - 1); + Buckets := HT_Ops.New_Buckets (Length => Size); end; Length := 0; @@ -1574,7 +1574,7 @@ package body Ada.Containers.Indefinite_Hashed_Sets is Size : constant Hash_Type := Prime_Numbers.To_Prime (Left.Length + Right.Length); begin - Buckets := new Buckets_Type (0 .. Size - 1); + Buckets := HT_Ops.New_Buckets (Length => Size); end; Iterate_Left : declare -- cgit v1.2.1