comp.lang.ada
 help / color / mirror / Atom feed
From: bpriest@ti.com (Bill Priest)
Subject: Re: Ada for C30
Date: Tue, 28 Feb 1995 00:02:59 GMT
Date: 1995-02-28T00:02:59+00:00	[thread overview]
Message-ID: <BPRIEST.95Feb27180259@ti.com> (raw)
In-Reply-To: jlkollig@space.honeywell.com's message of Thu, 23 Feb 1995  16:10 edt

I have been using the Tartan Ada compiler for the TI C31 processor (similar to C30).  The
current latest version has some problems.

1) Separates don't always work (the compiler at least on SUNOS can get in an infinite loop).

We have a tool to create a single file from a bunch of separates.

2) If use locate variables w/ for <var> use at the compiler likes to initialize the data for you
   unless you meet a certain criteria
   a) If the variable is a record it must have all bits rep-claused (even unused bits).
   b) If the variable is a packed array of boolean (if you put it in a record).
   c) The variable must be declared at a package or procedure level.
   d) If the variable is an integer (or a type built off of one) and is rep-claused to a size (< 32)
      then the variable will not be masked unless it is assigned to another variable (i.e it must
      not be used in an if or while condition directly).
   e) A rep-claused boolean of a single bit is not masked.
3) The runtime changes the stack address to a negative number (it sets the most sig. bit) after
   entering an interrupt handler.
4) The extensions to the runtime have timing/race condition bugs; we don't use them but other
   groups have seen them.

The code produced is pretty efficient if most of the checking is turned off.

The adascope debugger has problems also.
1) It only works w/ X11R4 (not X11R5).
2) When running in X11 mode it can get confused (mouse/button wise) and lock up.
3) It doesn't always let you source debug generics (dependent upon where you instantiate
   the generic).
4) When it dumps memory where breakpoints are located it shows the data that would be
   there if the breakpoints were not active (WYSINWYG).

FYI,

Bill
PS. Most problems can be worked around; however, it takes some time to learn the
compilers deficiencies.



      parent reply	other threads:[~1995-02-28  0:02 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-02-23 20:10 Ada for C30 John L. Kollig
1995-02-24 13:33 ` Gentle
1995-02-24 17:46   ` Garlington KE
1995-02-25 21:17   ` jfj
1995-02-25 23:04     ` Michael Hirasuna
1995-02-26 13:38     ` Larry Kilgallen, LJK Software
1995-02-28  4:19       ` jfj
1995-02-28  0:02 ` Bill Priest [this message]
replies disabled

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