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,6d748e86b56b1269 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-01-29 03:30:30 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: wojtek@power.com.pl (Wojtek Narczynski) Newsgroups: comp.lang.ada Subject: Re: Prefix to 'ACCESS must either statically match... But why? Date: 29 Jan 2003 03:30:30 -0800 Organization: http://groups.google.com/ Message-ID: <5ad0dd8a.0301290330.ec541a4@posting.google.com> References: NNTP-Posting-Host: 212.160.20.107 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1043839830 17334 127.0.0.1 (29 Jan 2003 11:30:30 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 29 Jan 2003 11:30:30 GMT Xref: archiver1.google.com comp.lang.ada:33549 Date: 2003-01-29T11:30:30+00:00 List-Id: "Grein, Christoph" wrote in message news:... > I'm not so sure that this is possible in general. Note that the slice > boundaries need no lie on storage unit boundaries. The same is true for, say, a packed array of three boolean elements. AFAIK Pragma Pack excludes the eligibility of aliased for element. Or opposite - aliased element of Pragma Pack. GNAT supports access to array slices with 'Unrestricted_Access, It will be an interesting experiment to check how it behaves on sub-storage unit ranges. Regards, Wojtek