Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!linus!decvax!harpo!eagle!mhuxt!mhuxi!mhuxa!houxm!ihnp4!ixn5c!inuxc!pur-ee!uiucdcs!uiucuxc!hamilton From: hamilton@uiucuxc.UUCP Newsgroups: net.lang.c Subject: Re: Array by value - (nf) Message-ID: <2616@uiucdcs.UUCP> Date: Sun, 21-Aug-83 23:39:02 EDT Article-I.D.: uiucdcs.2616 Posted: Sun Aug 21 23:39:02 1983 Date-Received: Tue, 23-Aug-83 23:27:53 EDT Lines: 18 #R:decvax:-17100:uiucuxc:21000005:000:432 uiucuxc!hamilton Aug 21 17:32:00 1983 regarding the value of the array assignment expression, this made me wonder what the compiler does for structure assignments. i tried this (4.1a BSD cc): main() { struct { int x, y, z ; } a, b; if ((a = b) != 0) ; } and got the diagnostic "operands of != have incompatible types". (btw, this compiler generated a movc3 instruction for the actual copy.) wayne ({decvax,ucbvax}!pur-ee!uiucdcs!uiucuxc!)hamilton