comp.lang.ada
 help / color / mirror / Atom feed
* Re: TeleGen compiler question (was "PL/1 a dead language?")
@ 1988-05-31 20:50 "Vladimir Ivanovic, x3-7786"
  0 siblings, 0 replies; only message in thread
From: "Vladimir Ivanovic, x3-7786" @ 1988-05-31 20:50 UTC (permalink / raw)



     With the TeleGen compiler, the program prints "we made it" then exits.
     This does not seem correct to me.  When I compile this with the Verdix
     Ada compiler on our Vax, the program prints "==> DEADLOCK! <== No
     tasks to run, no delays waiting."  If I change the "or" marked with
     "XXX" to an "else," the programs works "as expected" for both
     compilers, i.e. it prints "can't accept yet" 9 times, then prints "we
     made it" and exits.
     
The output of DEC's VAX Ada v1.4-33 under VMS is:

can't accept yet
can't accept yet
can't accept yet
can't accept yet
can't accept yet
can't accept yet
can't accept yet
can't accept yet
can't accept yet
can't accept yet
x>10
we made it

This was with the "or" marked with an "XXX" NOT changed to an "else".  Note
that "can't accept yet" is printed 10 times, not 9 times.

-- Vladimir

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1988-05-31 20:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1988-05-31 20:50 TeleGen compiler question (was "PL/1 a dead language?") "Vladimir Ivanovic, x3-7786"

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