🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.c.moderated
Article #2624

Re: Legal alloca?

#2624
From: Konrad Schwarz
Date: Fri, 19 Apr 1996 14:30
13 lines
1095 bytes
In article <4l33l8$7of@solutions.solon.com>, mfg@ee.edinburgh.ac.uk (Michael F Gordon) writes:

|> So, just how non-portable and horrible is [alloca]?

Mips has it, OSF/1 has it, AIX has it, HP-UX has it, PC's C have it (I'm pretty
sure), Venix (a PDP-11 Unix) doesn't have it, SUNs have it,
VAX has it (naturally).  Gcc might support it on some machines where the
native compiler doesn't.

If a compiler-writer forbids alloca, he can make the calling sequence quicker,
and not dedicate a register as a frame pointer.

Konrad Schwarz
Technical Details
Message-ID: <4l881b$762@solutions.solon.com>
Path: arc1-ca.pugleaf.net!solon.com!not-for-mail
References: <4klidc$ne8@solutions.solon.com> <4koe4u$8sl@solutions.solon.com> <4kr7b2$kcb@solutions.solon.com> <4l33l8$7of@solutions.solon.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!solon.com!not-for-mail
From: schwarz@hermi.complang.tuwien.ac.at (Konrad Schwarz)
Newsgroups: comp.lang.c.moderated
Subject: Re: Legal alloca?
Date: 19 Apr 1996 09:30:02 -0500
Organization: Technische Universität Wien, Vienna, Austria
Sender: clc@solutions.solon.com
Approved: clc@solutions.solon.com
Message-ID: <4l881b$762@solutions.solon.com>
References: <4klidc$ne8@solutions.solon.com> <4koe4u$8sl@solutions.solon.com> <4kr7b2$kcb@solutions.solon.com> <4l33l8$7of@solutions.solon.com>
NNTP-Posting-Host: solutions.solon.com