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,7b60a2e8329f4e64 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit X-Received: by 10.68.226.168 with SMTP id rt8mr2814990pbc.8.1358905144890; Tue, 22 Jan 2013 17:39:04 -0800 (PST) Path: 6ni12494pbd.1!nntp.google.com!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post02.iad.highwinds-media.com!news.flashnewsgroups.com-b7.4zTQh5tI3A!not-for-mail From: Stephen Leake Newsgroups: comp.lang.ada Subject: Re: GNAT 4.4.5 Record Bit_Order Endian issues References: <854ni9c319.fsf@stephe-leake.org> Date: Tue, 22 Jan 2013 20:38:59 -0500 Message-ID: <85pq0wadak.fsf@stephe-leake.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (windows-nt) Cancel-Lock: sha1:agJ4y0j6vSMQmudOSMc2RTwlAGk= MIME-Version: 1.0 X-Complaints-To: abuse@flashnewsgroups.com Organization: FlashNewsgroups.com X-Trace: b48b450ff3f38e029e66117637 X-Received-Bytes: 2809 Content-Type: text/plain Date: 2013-01-22T20:38:59-05:00 List-Id: "Randy Brukardt" writes: > "Stephen Leake" wrote in message > news:854ni9c319.fsf@stephe-leake.org... >> "Randy Brukardt" writes: > ... >>Note the 'otherwise'; that's means the value is R.C'Address - R'Address >>only if position is _not_ specified in a rep clause. > > Right, because if it is specified you use that value. But it *always* means > R.C'Address - R'Address, whether it is specified or not; it's only that the > *value* comes from the specification if there is one. So I take it you are > complaining about a misplaced "otherwise". Yes. > I'd suggest you write up an Ada-Comment so it gets onto the agenda of the > ARG to fix next time. (I personally think it is obvious, so I wouldn't worry > about it, but people differ.) I'll do that, but I agree it's not a big deal, since R.C'Address - R'Address is the only reasonable meaning. >> Do you think Cohen's paper makes it clear? I gather not. Why not? > > I read that paper three or four times and never understood any of it. I'll have to read it again; its been a while. > The discussion of "machine scalars" in the AI and in the RM (and > especially during the ARG meetings) makes more sense to me than > anything in Cohen's paper -- and in all honesty, that isn't intuitive, > either. > > In any case, the Cohen paper is far too long to be used as part of the RM, > and it surely defies condensation into a few easily understandable > paragraphs. (If someone can do that, I'd welcome adding it to the AARM, I > surely couldn't and I tried.) I'm thinking it would be sufficient to say something like: 'position' specifies R.C'Address - R'Address (in units of Storage_Unit) If the nondefault bit order applies, each 'position' must specify the start of the machine scalar following the machine scalar used in the previous component. But I'll work on it more. A couple of examples would help. And we need to point out that this does not affect byte endianness. -- -- Stephe