This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/34128] slow gfortran 4.x (library?) compared to g77 3.4



------- Comment #5 from jvdelisle at gcc dot gnu dot org  2007-12-08 18:59 -------
On x86-64 (gfc = gfortran)

$ gfc -m32 demo1.f 
$ time ./a.out
 result =  -0.69068092664140723     

real    0m0.552s
user    0m0.551s
sys     0m0.001s
$ gfc -m64 demo1.f 
$ time ./a.out
 result =  -0.69068092107772827     

real    0m8.533s
user    0m8.532s
sys     0m0.002s
$ g77 -m32 demo1.f 
$ time ./a.out
 result =  -0.990368962

real    0m0.546s
user    0m0.545s
sys     0m0.002s
$ g77 -m64 demo1.f 
$ time ./a.out
 result =  -0.690680921

real    0m0.877s
user    0m0.874s
sys     0m0.003s
$ 

Something definitely wrong here.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34128


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]