Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.3 4.3bsd-beta 6/6/85; site ucbvax.BERKELEY.EDU Path: utzoo!watmath!clyde!burl!ulysses!ucbvax!NYU-ROBESON.ARPA!salkind From: salkind@NYU-ROBESON.ARPA (Lou Salkind) Newsgroups: mod.computers.pyramid Subject: Re: System V Pic command on 90x Message-ID: <8606131848.AA02748@nyu-robeson.arpa> Date: Fri, 13-Jun-86 14:48:51 EDT Article-I.D.: nyu-robe.8606131848.AA02748 Posted: Fri Jun 13 14:48:51 1986 Date-Received: Thu, 19-Jun-86 19:28:36 EDT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The ARPA Internet Lines: 14 Approved: info-pyramid@mimsy.umd.edu The problem with the System V PIC is in the source code! The yacc actions (in pic.y) tend to pass a union argument of {int, float, etc.} to various subroutines. Unfortunately, those subroutines are not expecting a union type, but rather a simple type. On VAXen and 68000 C compilers, this presents no problem. On a Pyramid, however, different code is generated to handle passed union and structure arguments. The end result is that garbage arguments are passed to the various functions. People interested in the fixes to PIC should contact me, and I'll try to help out. Lou