Quantcast
Channel: Intel® Software - Intel® Fortran Compiler for Linux* and macOS*
Viewing all articles
Browse latest Browse all 2746

Potential loop unrolling bug in ComposerXE 2013

$
0
0

I have found a potential bug with the loop unrolling of a triangular loop.  The example is attached. 

[marianne@MarianneFedora15 ~]$ ifort -v
ifort version 13.0.1

[marianne@MarianneFedora15 ~]$ ifort loopUnrolltest.f90
[marianne@MarianneFedora15 ~]$ ./a.out
   1000000.       1000000.      3.3835000E+07  0.0000000E+00  0.0000000E+00
  0.0000000E+00
[marianne@MarianneFedora15 ~]$ ifort -unroll0 loopUnrolltest.f90
[marianne@MarianneFedora15 ~]$ ./a.out
  3.3835000E+07  3.3835000E+07  3.3835000E+07  3.3835000E+07  3.3835000E+07
  3.3835000E+07

AttachmentSize
Downloadloopunrolltest.f90564 bytes

Viewing all articles
Browse latest Browse all 2746

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>