Path: utzoo!mnetor!uunet!lll-winken!lll-lcc!lll-tis!ames!hao!boulder!sunybcs!bingvaxu!leah!itsgw!batcomputer!cornell!uw-beaver!uw-june!pardo From: pardo@uw-june.UUCP (David Keppel) Newsgroups: comp.lang.c Subject: Re: A bad design decision early on in ANSI C. Message-ID: <3893@uw-june.UUCP> Date: 28 Dec 87 06:40:54 GMT References: <1322@sugar.UUCP> Reply-To: pardo@uw-june.UUCP (David Keppel) Organization: U of Washington, Computer Science, Seattle Lines: 10 [Structure assignment passing] I vote for keeping it. I have had to suffer through a C compiler that didn't do this when I *wanted* to pass whole structures on the stack. There are also a number of compilers (such as B*rkeley Pascal) that pass "by value" arguments by value. To maintain compatability with them it is necessary to have some mechanism for pushing blocks of things on the stack in the function call list. ;-D on ("noalias considered sailaon") Pardo