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.3 required=5.0 tests=BAYES_00,INVALID_MSGID, MSGID_RANDY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,56250291936154a0 X-Google-Attributes: gid103376,public From: Robert Dewar Subject: Re: OS Bindings (was: Where is the elusive jump command?) Date: 2000/04/15 Message-ID: <8d9pu3$2u0$1@nnrp1.deja.com>#1/1 X-Deja-AN: 611496062 References: <38D771CA.D41AF9B5@port.ac.uk> <8bq7ku$mc8$1@nnrp1.deja.com><38E0E723.C39C392@quadruscorp.com> <8brfm4$4uc$1@nnrp1.deja.com><8brn4k$p6i$1@slb0.atl.mindspring.net> <8brrpj$i04$1@nnrp1.deja.com><38E312F8.78883ACB@icn.siemens.de> <8c4rvf$d9k$1@nnrp1.deja.com> <2000Apr5.070127.1@eisner> <2000Apr6.081305.1@eisner><8ci6vf$r5a$1@nnrp1.deja.com> <8ck638$krs3@ftp.kvaerner.com><8cp23c$4gp$1@nnrp1.deja.com> <8csjs8$o2p3@ftp.kvaerner.com><8d0su8$bqt$1@nnrp1.deja.com> <8d20bq$o2p4@ftp.kvaerner.com> <8d2dq9$2le$1@nnrp1.deja.com> X-Http-Proxy: 1.0 x43.deja.com:80 (Squid/1.1.22) for client 205.232.38.14 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Sat Apr 15 13:13:45 2000 GMT X-MyDeja-Info: XMYDJUIDrobert_dewar Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.61 [en] (OS/2; I) Date: 2000-04-15T00:00:00+00:00 List-Id: In article , Robert A Duff wrote: > I agree about subscripts and entry families, but I don't see > the problem > with case statements. Because it is not significantly useful to have case statements operating with 256-bit integer values, and it is likely that standard optimizers etc do not deal with this special case, meaning that it has to be special cased by the compiler, creating special cases that require lots of extra testing work etc. > Loops? I dunno. Same thing. It is really surprising to many people that Ada compilers often do not support 64-bit arithmetic. In GNAT, we do guarantee 64-bit integer arithmetic on all targets (Long_Long_Integer is at least 64-bits), but it does take extra work, and I suspect that a significant part of the reason that it is not done on all targets is that it is too much work to deal with loops, case statements, subscripts etc, and if you are allowed to simply avoid these issues by refusing to support it at all then that's the easier choice. > I think that is clear. I'm too lazy to look up the RM reference. I do > remember that William Whitaker griped about this allowance rather > strongly, which surprised me, because it seemed to me silly to say (to a > compiler writer) you don't have to support X, but if you do support X, > you have to *fully* support it. Indeed, and that is my point, I think we are in basic agreement here. Sent via Deja.com http://www.deja.com/ Before you buy.