From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Can anyone help with GNAT.Perfect_Hash_Generators ? (Possible memory corruption) Date: Thu, 08 Sep 2016 18:04:03 +0100 Organization: A noiseless patient Spider Message-ID: References: <397dd8cb-2afc-43cd-972d-3b1a5a90cd5d@googlegroups.com> <877fao24da.fsf@mid.deneb.enyo.de> <0b79fce9-b898-4a1c-91fb-ca41e87b4dd5@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx02.eternal-september.org; posting-host="90a7515de723fda2443060f3e878f4b0"; logging-data="21620"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+bf//ZKLrh6CdCW4d7zpYr8kt9u/bm6kQ=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (darwin) Cancel-Lock: sha1:pmpgexKilBn/CK2ZZ0pQM7C7PIY= sha1:lRcFkNxvE2L7H4gbgrU4ejUU2Oc= Xref: news.eternal-september.org comp.lang.ada:31729 Date: 2016-09-08T18:04:03+01:00 List-Id: Anh Vo writes: > Then, what would be the proper fix? To what? If you mean the apparent bug in GNAT.Perfect_Hash_Generators then I have to say that's one of the more opaque pieces of Ada that I've seen, not helped by being implemented over another piece of complex software (GNAT.Table). Of course, it's implementing a complex algorithm. I suppose it was written before Ada.Containers.