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,f7c38a023cf370dc X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news1.google.com!news.glorb.com!feeder.erje.net!xlned.com!feeder3.xlned.com!feeder.news-service.com!aioe.org!.POSTED!not-for-mail From: tmoran@acm.org Newsgroups: comp.lang.ada Subject: Re: Should representation clauses be complete for each bit? Date: Sat, 23 Jul 2011 02:16:32 +0000 (UTC) Organization: Aioe.org NNTP Server Message-ID: References: NNTP-Posting-Host: Lf0Nl3CcQzx+ocHx9cmuGg.user.speranza.aioe.org X-Complaints-To: abuse@aioe.org X-Notice: Filtered by postfilter v. 0.8.2 X-Newsreader: Tom's custom newsreader Xref: g2news2.google.com comp.lang.ada:21284 Date: 2011-07-23T02:16:32+00:00 List-Id: > type T is > record > ... > Gap1 : Bits2 := 0; -- must be zero In Claw.Bitmaps there's a record with type Windows_Info is record ... Planes : Claw.Word range 1 .. 1 := 1; IIRC we noticed that we definitely needed the representation Planes at 12 range 0 .. 15; otherwise ObjectAda didn't leave any space, since it knew that Planes was a constant always equal to 1.