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-Thread: 103376,8a6e6d9458ae6ddc X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Nick Roberts Newsgroups: comp.lang.ada Subject: Re: Is this a bug? Date: Thu, 23 Sep 2004 15:52:51 +0100 Message-ID: <2rg6a1F1arg02U1@uni-berlin.de> References: <5ad0dd8a.0409221652.6a69b336@posting.google.com> <5ad0dd8a.0409230035.337f9305@posting.google.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de giOMaGNO6v35shbW3twBUQSkdFmsbL3jlCj9VzP3DgNPaT01g= User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040803 X-Accept-Language: en-us, en In-Reply-To: <5ad0dd8a.0409230035.337f9305@posting.google.com> Xref: g2news1.google.com comp.lang.ada:4020 Date: 2004-09-23T15:52:51+01:00 List-Id: Wojtek Narczynski wrote: > Okay, I wasn't thinking. It obviously isn't a compiler bug. To clarify (hopefully), there is a line which changes the value of Current_Hook: Current_Hook := Current_Hook.all.Down'Unchecked_Access; The value of Current would not have been changed by this statement, so it would presumably have been left referring to the wrong thing. The code shown is quite complex, and Wojtek can be forgiven for initially missing this (in my humble opinion). -- Nick Roberts