comp.lang.ada
 help / color / mirror / Atom feed
From: "R. Tim Coslet" <rtcoslet@pacbell.net>
Subject: Re: simple question just to be sure
Date: Sat, 13 Oct 2001 23:40:40 GMT
Date: 2001-10-13T23:40:40+00:00	[thread overview]
Message-ID: <3BC8D0F9.7174081C@pacbell.net> (raw)
In-Reply-To: c6Yw7.22976$ev2.31217@www.newsranger.com

Back in the early '90s I was trying to work with an Ada compiler for
Intel's i960
processor and kept having problems with arrays being longer than my code specified.
It made it impossible to do what I needed to do and get correct results (e.g.
'Range was bigger than I specified!)

It took alot of trouble to eventually get a response from the compiler
vendor about
this... their response: "...well Intel requested that arrays be 'rounded
up' to 16
byte multiiples so that their benchmarks would always use Burst
transfers to get
the fastest performance..."

We eventually switched compiler vendors...

But the problem that the original poster had appears to be an analysis tool
bug/feature...

                    RTC

Ted Dennison wrote:

> However, it is perfectly legal Ada. It could be that he meant to say that since
> you are doing something that isn't normally done (due to it not being proper
> form), you have stumbled upon a previously undiscovered bug in the compiler for
> handling that situation. That's perfectly reasonable, and happens all the time
> with all compilers. However, they should fix it. The fact that it seems to think
> one side of the object is 5 characters long is particularly worrysome. If you
> *hadn't* specified 4 characters, would it have made 5? What would be in the
> extra one? Yuck.
>
> ---
> T.E.D.    homepage   - http://www.telepath.com/dennison/Ted/TED.html
>
> No trees were killed in the sending of this message.
> However a large number of electrons were terribly inconvenienced.



  reply	other threads:[~2001-10-13 23:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-10  8:25 simple question just to be sure Rammeloo Stijn
2001-10-10 13:32 ` Ted Dennison
2001-10-13 23:40   ` R. Tim Coslet [this message]
2001-10-10 16:35 ` Jeffrey Carter
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox