https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69564
--- Comment #5 from vincenzo Innocente <vincenzo.innocente at cern dot ch> --- it is a regression gcc version 4.9.3 (GCC) c++ -Ofast *.c; ./a.out ** ** ** SciMark2 Numeric Benchmark, see http://math.nist.gov/scimark ** ** for details. (Results can be submitted to p...@nist.gov) ** ** ** Using 2.00 seconds min time per kenel. gcc -Ofast *.c; ./a.out c++ -v Composite Score: 2449.06 FFT Mflops: 2046.03 (N=1024) SOR Mflops: 1654.04 (100 x 100) MonteCarlo: Mflops: 813.44 Sparse matmult Mflops: 2962.08 (N=1000, nz=5000) LU Mflops: 4769.72 (M=100, N=100) --- gcc -Ofast *.c -lm; ./a.out ** ** ** SciMark2 Numeric Benchmark, see http://math.nist.gov/scimark ** ** for details. (Results can be submitted to p...@nist.gov) ** ** ** Using 2.00 seconds min time per kenel. Composite Score: 2475.22 FFT Mflops: 2064.19 (N=1024) SOR Mflops: 1633.01 (100 x 100) MonteCarlo: Mflops: 810.37 Sparse matmult Mflops: 2970.47 (N=1000, nz=5000) LU Mflops: 4898.06 (M=100, N=100)