Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!cs.utexas.edu!sun-barr!rutgers!cunixf.cc.columbia.edu!cunixa.cc.columbia.edu!dmj From: dmj@cunixa.cc.columbia.edu (Douglas M Jaffe) Newsgroups: comp.unix.aix Subject: Re: looking for rs/6k aix 3.1 buglist Message-ID: <1991May25.005319.29296@cunixf.cc.columbia.edu> Date: 25 May 91 00:53:19 GMT References: <1991May24.203515.16684@usenet.ins.cwru.edu> Sender: usenet@cunixf.cc.columbia.edu (The Network News) Reply-To: dmj@cunixa.cc.columbia.edu (Douglas M Jaffe) Organization: Columbia University Lines: 78 Nntp-Posting-Host: cunixa.cc.columbia.edu i'm trying to evaluate an rs/6000 530 running aix 3.1.5 (at least that's what our ibm rep has been saying). i would appreciate any comments on its pros/cons, especially on how well suited it is for use as a compute server. also, the ibm reps are under the impression that the machine is near-perfect. either (1) they're high on drugs, or (2) their standards are low (probably _both_). if anyone knows of definite bugs concerning 3.1.5, please email me at the above address (dmj@cunixa.cc.columbia.edu). i'll compile the list and post it to this newsgroup. so far, i know of one bug relating to the development system: BUG: cc or xlc has problems casting a modifiable lvalue to an lvalue of a different type. i checked the official ansi reference (ie. not k&r 2ed), and it specifically allows cast expressions that result in modifiable lvalues. below is a session log: ====================================================================== $ $ cat cast.c #include main() { char *c; int buf[100]; ((int *)c) = &(buf[0]); exit(0); } $ $ make cast cc -O cast.c -o cast 8 | ((int *)c) = &(buf[0]); .........a...................... a - 1506-025: (S) Operand must be a modifiable lvalue. 1254-004 The error code from the last failed command is 1. Make Quitting. $ ====================================================================== Please note: 1. i'm using the expression "((int *)c) = &(buf[0])" to specifically show that there are no ambiguities in the expression. 2. "c = (char *) buf" is better for _this_ toy case, but for _my_ purposes (too complicated to mention here), i need to be able to write macros that can cast modifiable lvalues. for those interested, email me. as a final word, please email me any bugs that you have encountered using aix 3.1, (esp. 3.1.5). i will compile and verify the list, send copies to those who emailed to me, and post it to this newsgroup. thanks in advance. ---------------------------------------------------------------------- _ ,---------'_) (_/\ O O / \ v / \___/ U "doggie fresh" ---------------------------------------------------------------------- _ ,---------'_) (_/\ O O /