TIP: Click on subject to list as thread! ANSI
echo: aust_c_here
to: David Nugent
from: Peter Collis
date: 1996-06-21 19:36:20
subject: Find a word

-= Pete Replied to David Nugent about: Find a word =-

G'day David

 > looks like without local varables the BP/SP reg's are not saved
 > and restored when optimizations are turned on.

 DN> I'd consider that a bug in QC's alloca() implementation. AFAIK,
 DN> MSC had no problems in any versions I used (2, 4, 5, 5.1, 6, 7).

I've always assumed QC and MSC-6 shared some of the help files, If
you have MSC6 installed check out the online help for alloca() and see
if the warning about BP/SP is mentioned. Under normal use there would
always be at least 1 local variable as a pointer to hold the return
value from alloca() BTW i'd assume any arguments passed to a function
using alloca() would force BP/SP to be setup anyway.

   -=Pete=-

--- OMX/Blue Wave v2.12
* Origin: Gates of Hell (3:713/914.16)
SEEN-BY: 50/99 620/243 623/630 711/401 409 410 413 430 808 809 932 934
SEEN-BY: 712/508 515 713/111 317 601 611 615 618 700 826 888 914 714/906
SEEN-BY: 800/1
@PATH: 713/914 615 888 711/808 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.