Re: gcc4.1.2 compilation errors

2008-11-30 Thread yx
Andrew, thank you very much for your answer. I have just used the option you suggested for benchmark galgel, it works! Since I can not modify the source code of SPEC2000 benchmark, I don't quite understand when you say I need alt sources which remove the cast as lvalue. Where I can find the

Re: gcc4.1.2 compilation errors

2008-11-30 Thread Kenneth Hoste
On Nov 30, 2008, at 21:08 , yx wrote: Andrew, thank you very much for your answer. I have just used the option you suggested for benchmark galgel, it works! Since I can not modify the source code of SPEC2000 benchmark, I don't quite understand when you say I need alt sources which remove the

gcc4.1.2 compilation errors

2008-11-29 Thread yx
Hi, I am trying to compile SPEC2000 benchmark with gcc 4.1.2 (gfortran and g++ were compiled successfully for gcc4.1.2.) However I got compilation errors for 4 benchmarks in SPEC2000. The error messages are listed as follows: 176. gcc: reorg.c: In function 'find_end_label' reorg.c:831: error:

Re: gcc4.1.2 compilation errors

2008-11-29 Thread Andrew Thomas Pinski
Sent from my iPhone On Nov 29, 2008, at 6:34 PM, yx [EMAIL PROTECTED] wrote: Hi, I am trying to compile SPEC2000 benchmark with gcc 4.1.2 (gfortran and g++ were compiled successfully for gcc4.1.2.) However I got compilation errors for 4 benchmarks in SPEC2000. The error messages are listed