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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,8fd45d32d7c94df3 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,UTF8 Path: g2news2.google.com!news3.google.com!feeder.news-service.com!94.75.214.39.MISMATCH!aioe.org!not-for-mail From: =?utf-8?Q?Yannick_Duch=C3=AAne_=28Hibou57?= =?utf-8?Q?=29?= Newsgroups: comp.lang.ada Subject: Re: User Defined Storage Pool : did you ever experiment with it ? Date: Tue, 25 Jan 2011 01:14:30 +0100 Organization: Ada @ Home Message-ID: References: NNTP-Posting-Host: acsBUNfcQW+eT5vyMJoHIg.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes Content-Transfer-Encoding: Quoted-Printable X-Complaints-To: abuse@aioe.org X-Notice: Filtered by postfilter v. 0.8.2 User-Agent: Opera Mail/11.00 (Win32) Xref: g2news2.google.com comp.lang.ada:17644 Date: 2011-01-25T01:14:30+01:00 List-Id: Le Tue, 25 Jan 2011 00:34:34 +0100, Yannick Duch=C3=AAne (Hibou57) = a =C3=A9crit: >> GNAT.Debug_Pools can also give false warnings when >> dereferencing a pointer to aliased data on the stack >> (which was never allocated via a =E2=80=9Cnew=E2=80=9D operator, but = was >> accessed via an =E2=80=98Access attribute). > How can a storage pool catch dereferencing ? OK, I found. This is GNAT specific. I am currently reading a paper whose= = link to was posted by Dick Creanest (in this same thread), and it says: > Because storage pools provide no means to check dereferences, > GNAT offers a special type of storage pool, called a > =E2=80=9Cchecked pool=E2=80=9D, with an additional abstract primitive > operation called Dereference. That's an interesting feature indeed, but not standard. How many Ada = compiler vendors provides a similar feature ? -- = Si les chats miaulent et font autant de vocalises bizarres, c=E2=80=99es= t pas pour = les chiens. =E2=80=9CI am fluent in ASCII=E2=80=9D [Warren 2010]