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,6339fea48a1b8cda X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!postnews.google.com!c58g2000hsc.googlegroups.com!not-for-mail From: christoph.grein@eurocopter.com Newsgroups: comp.lang.ada Subject: Re: Enumeration representation clause surprise. Date: Tue, 17 Jun 2008 00:22:33 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <770ae1af-b9fd-4c8a-915c-a5cb3ea8fc81@c65g2000hsa.googlegroups.com> <87hcbybazk.fsf@willow.rfc1149.net> <4f5f512a-36e6-466e-a5a9-5f26857841f8@w4g2000prd.googlegroups.com> <62644043-4704-4d49-b26b-5ba789f007a5@x1g2000prh.googlegroups.com> <192c6ade-93e5-4e8a-b4bc-4679d63cc3ce@26g2000hsk.googlegroups.com> NNTP-Posting-Host: 80.156.44.178 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: posting.google.com 1213687353 6763 127.0.0.1 (17 Jun 2008 07:22:33 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 17 Jun 2008 07:22:33 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: c58g2000hsc.googlegroups.com; posting-host=80.156.44.178; posting-account=rmHyLAoAAADSQmMWJF0a_815Fdd96RDf User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.1),gzip(gfe),gzip(gfe) X-HTTP-Via: 1.1 webwasher (Webwasher 6.7.0.3295) Xref: g2news1.google.com comp.lang.ada:732 Date: 2008-06-17T00:22:33-07:00 List-Id: On 17 Jun., 08:03, christoph.gr...@eurocopter.com wrote: > GNAT supports all annexes. > > So note C.2(2). From this it follows via 13.3(55,55.b) that U'Size > must be 0 for an unsigned integer subtype U with range 0 .. 0 only. Of course I meant upper bound 0. The same should be true for a biased representation of a range with one value only.