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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,9fb8e2af320d5b3e X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!postnews.google.com!i13g2000prf.googlegroups.com!not-for-mail From: Maciej Sobczak Newsgroups: comp.lang.ada Subject: Re: Bus error Date: Wed, 27 Jun 2007 13:48:15 -0700 Organization: http://groups.google.com Message-ID: <1182977295.227318.259300@i13g2000prf.googlegroups.com> References: <1182954233.788124.17920@c77g2000hse.googlegroups.com> <1182974545.047564.236590@z28g2000prd.googlegroups.com> NNTP-Posting-Host: 85.3.115.116 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: posting.google.com 1182977295 18677 127.0.0.1 (27 Jun 2007 20:48:15 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 27 Jun 2007 20:48:15 +0000 (UTC) In-Reply-To: <1182974545.047564.236590@z28g2000prd.googlegroups.com> User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: i13g2000prf.googlegroups.com; posting-host=85.3.115.116; posting-account=Ch8E9Q0AAAA7lJxCsphg7hBNIsMsP4AE Xref: g2news1.google.com comp.lang.ada:16324 Date: 2007-06-27T13:48:15-07:00 List-Id: On 27 Cze, 22:02, Anh Vo wrote: > However, if the return statement is fully qualified as below, it works > fine on all versions > > $$$ return T'(Ada.Finalization.Limited_Controlled with 7); I still get bus error with this. Why should that make any difference, anyway (other than guessing around the compiler bug)? Qualification should not be necessary in this context, because the expected type for the aggregate is known from the function return type. There is no ambiguity here that would need to be resolved with the qualification. -- Maciej Sobczak http://www.msobczak.com/