egcs-19981206 appears to miscompile linpackc.c

Toshiyasu Morita tm@netcom.com
Mon Dec 7 20:26:00 GMT 1998


snapshot: egcs-19981206
    host: i386-linux
  config: ./configure (native)

The current snapshot compiling linpack with:

gcc -DROLL -DSP -DUNIX -O2 linpackc.c

results in the following bogus results on a P2/300:

...
Times for array with leading dimension of 201

      dgefa      dgesl      total     Mflops       unit      ratio
    0.00080    0.00103    0.00184     374.13     0.0053     0.0328
   -0.00009    0.00001   -0.00009   -7884.77    -0.0003    -0.0016
   -0.00010    0.00001   -0.00009   -7441.78    -0.0003    -0.0016
   -0.00003    0.00003    0.00000  165048.34     0.0000     0.0001
   0.00002    0.00010    0.00012    5859.75     0.0003     0.0021
Average                             31191.14
...

I suspect something is being miscompiled somewhere.

Toshi




More information about the Gcc-bugs mailing list