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.2 required=5.0 tests=AC_FROM_MANY_DOTS,BAYES_00, XPRIO_SHORT_SUBJ autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,78b2880bc7e78e39 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-03-17 01:38:53 PST Path: nntp.stanford.edu!newsfeed.stanford.edu!news.tele.dk!195.25.12.36!oleane.net!oleane!freenix!isdnet!psinet-france!psiuk-f4!psiuk-p4!uknet!psiuk-n!news.pace.co.uk!nh.pace.co.uk!not-for-mail From: "Marin David Condic" Newsgroups: comp.lang.ada Subject: Re: RISC Date: Thu, 15 Mar 2001 14:16:56 -0500 Organization: Posted on a server owned by Pace Micro Technology plc Message-ID: <98r4g1$7r1$1@nh.pace.co.uk> References: <98qumf$5sf$1@nh.pace.co.uk> NNTP-Posting-Host: 136.170.200.133 X-Trace: nh.pace.co.uk 984683841 8033 136.170.200.133 (15 Mar 2001 19:17:21 GMT) X-Complaints-To: newsmaster@pace.co.uk NNTP-Posting-Date: 15 Mar 2001 19:17:21 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Xref: nntp.stanford.edu comp.lang.ada:91495 Date: 2001-03-15T19:17:21+00:00 List-Id: Oh sure. Most garden variety representation clauses get listened to and obeyed. At least in my experience. I just like to complain about the inability to coerce behavior out of compilers sometimes. I know I've come up with perfectly reasonable and legal representation specifications from time to time and had them rejected by compilers because a) they didn't understand what I wanted or b) they *did* understand and refused to do it because obviously they knew better than I did what it is I *really* wanted, if only I was as smart and omnipotent as the compiler. That's when you have to get creative in the stories you tell to the compiler! :-) MDC -- Marin David Condic Senior Software Engineer Pace Micro Technology Americas www.pacemicro.com Enabling the digital revolution e-Mail: marin.condic@pacemicro.com Web: http://www.mcondic.com/ "Robert A Duff" wrote in message news:wccbsr23n0q.fsf@world.std.com... > "Marin David Condic" writes: > > > To make matters worse, a compiler is free in general to refuse to accept > > *any* representation clause - You Can't Always Get What You Want.... > > True, but don't all compilers these days support the SP annex, which > requires a fair amount of support for rep clauses? Anyway, in practise, > "for Byte_Object'Size use 8;" will probably be accepted by every > compiler for every 8-bit-byte-addressable machine, and will work as you > expect. It's just the 'Size on subtypes that has "questionable" > semantics. > > - Bob >