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=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,c658912279760559 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-02-19 08:34:55 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: jim@ghs.com (Jim Gleason) Newsgroups: comp.lang.ada Subject: Re: Unchecked_Deallocation and Constraint_Error Date: 19 Feb 2002 08:34:54 -0800 Organization: http://groups.google.com/ Message-ID: References: <87y9hp7kcl.fsf@deneb.enyo.de> NNTP-Posting-Host: 24.94.108.60 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1014136495 18115 127.0.0.1 (19 Feb 2002 16:34:55 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 19 Feb 2002 16:34:55 GMT Xref: archiver1.google.com comp.lang.ada:20122 Date: 2002-02-19T16:34:55+00:00 List-Id: Florian Weimer wrote: > You cannot expect that a Constraint_Error exception is raised in this > case, unless your compiler documentation guarantees this. LRM 13.11.2(7) states that the value of the variable after Free is null. This, combined with 4.1(13), implies that a Constraint_Error SHOULD be raised. I would contact your compiler vendor. A conforming implementation should raise a Constraint_Error by default in this instance.