[Open64-devel] do someone know why declare like below

2011-11-07 Thread eirc.lew
Hi, I find in some application, the programmer define a function like below, why they put the type of parameter after the parameter list. static char * reg(cp, paren, flagp) register struct comp *cp; int paren; /* Parenthesized? */ int *flagp; { .. ..

Re: [Open64-devel] do someone know why declare like below

2011-11-07 Thread shenrfen
This is the old style function definition in C language -Original Message- From: eirc@gmail.com [mailto:eirc@gmail.com] Sent: Tuesday, November 08, 2011 4:01 AM To: open64-devel@lists.sourceforge.net Subject: [Open64-devel] do someone know why declare like below Hi, I find in

Re: [Open64-devel] Open64.net Release 5.0 branch

2011-11-07 Thread Jian-Xin Lai
We just finished the triaging about the performance fluctuations. We found the big fluctuation on libquantum was caused by the '-mso' option. After we corrected the options, the new performance data looks good. There is no more issues in other benchmarks. 2011/11/7 Jian-Xin Lai : > Hi Michael, > >

Re: [Open64-devel] do someone know why declare like below

2011-11-07 Thread Rayson Ho
Yes, that's the old "K&R" style C function definition. ANSI standard uses the newer and IMO cleaner style, and is now used by everyone (almost!). The compiler should generate idential code no matter you write in K&R style or ANSI style. Rayson = Grid Engine / Op