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.7 required=5.0 tests=BAYES_00,MSGID_RANDY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,c6e6cdf6ff50e684 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-02-08 08:30:20 PST Path: supernews.google.com!sn-xit-02!sn-xit-01!supernews.com!newsfeed.stanford.edu!news.tele.dk!194.255.56.67!newsfeed101.telia.com!newsrouter.euroconnect.net!news1.ebone.net!news.ebone.net!diablo.netcom.net.uk!netcom.net.uk!cpk-news-hub1.bbnplanet.com!news.gtei.net!news.maxwell.syr.edu!nntp2.deja.com!nnrp1.deja.com!not-for-mail From: Rod Chapman Newsgroups: comp.lang.ada Subject: Re: Representation clause for enumeratives Date: Thu, 08 Feb 2001 16:22:11 GMT Organization: Deja.com Message-ID: <95uh36$to0$1@nnrp1.deja.com> References: <95tqbh$ag7$1@nnrp1.deja.com> NNTP-Posting-Host: 193.114.91.187 X-Article-Creation-Date: Thu Feb 08 16:22:11 2001 GMT X-Http-User-Agent: Mozilla/4.73 [en] (WinNT; U) X-Http-Proxy: 1.0 PROXY, 1.0 x68.deja.com:80 (Squid/1.1.22) for client 193.114.91.187 X-MyDeja-Info: XMYDJUIDr_c_chapman Xref: supernews.google.com comp.lang.ada:5003 Date: 2001-02-08T16:22:11+00:00 List-Id: In article <95tqbh$ag7$1@nnrp1.deja.com>, Sandro Binetti wrote: > Hi everybody, > > Suppose you have an enumerative type like the following: Our usual coding standards for critical and real-time work advise against the use of enumerated types with rep. clauses - the code gen. and runtime impact is just too gross. Try compiling the example with "gcc -c -gnatG" and see what you get! (No particular issue with GNAT here, it's just the -gnatG option is uniquely instructive in illustrating the point). - Rod Sent via Deja.com http://www.deja.com/