From: cowan@btgmax.zko.dec.com (Ken Cowan)
Subject: Re: Problem with /OPT on DEC BASIC AXP
Date: 13 Jul 1994 13:39:52 GMT [thread overview]
Message-ID: <300qr8$njb@jac.zko.dec.com> (raw)
In-Reply-To: 1994Jul12.182706.4407@malins.mala.bc.ca
In article <1994Jul12.182706.4407@malins.mala.bc.ca>, dunnett@mala.bc.ca (Malcolm Dunnett) writes:
|>
|> I'm converting a bunch of VAX BASIC programs to DEC BASIC on an Alpha.
|>
|> The conversion seems to go OK if I use /NOOPT, but there's some weird
|>problems if I use any of the Optimize levels. One I've identified so
|>far is that strings are getting messed up, ie if I say:
|>
|> b$ = a$ + "some text"
|>
|>it seems that only part of "some text" gets added to b$.
|>
|> Has anyone else seen this? Is there an ECO out?
|>
|> What's your impression of optimization in DEC BASIC in general, should
|>I worry about getting this fixed or just ignore Optimize? (most of these
|>programs are going to be IO bound anyway)
|>
|> Any other strange things I should watch out for?
|>
|>--
|>=============================================================================
|>Malcolm Dunnett Malaspina University-College Email: dunnett@mala.bc.ca
|>Computer Services Nanaimo, B.C. CANADA V9R 5S5 Tel: (604)755-8738
|>
I don't recall seeing any DEC BASIC developers posting to this
group. If you post or mail me a self-contained example, I'll
pass it along.
Although DEC BASIC is a "V1", it started with the front end code
for VAX BASIC and shares the backend technology with most of
our other Alpha compilers. Those 2 parts of the technology are
quite mature.
The VAX BASIC compiler didn't optimize, or at least not very
much. We have seen occasions where application bugs only appear
with optimization turned on. We've also seen occasions where
optimizers have bugs. We can't tell about this case until we
see a test program.
--
Ken Cowan, ZK2-3/Q8 cowan@rtl.enet.dec.com
Digital Equipment Corporation decwrl!rtl!cowan
110 Spit Brook Rd,
Nashua, NH 03062
prev parent reply other threads:[~1994-07-13 13:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1994-07-13 1:27 Problem with /OPT on DEC BASIC AXP Malcolm Dunnett
1994-07-13 13:39 ` Ken Cowan [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox