title: gfortran: using real numbers as array indices
body: <p>Is it possible to use real numbers as iterators and array indices when compiling with gfortran? Here is some example code:</p>
  
  <pre><code>program test
      real i
      real testarray(5)
      testarray = 0.
      do i=1,5
          write(*,*) testarray(i)
      end do
  end program
  </code></pre>
  
  <p>I want to run some code that I did not write. It compiles fine with the intel compiler on windows, but I want to compile and run it in linux with the gfortran compiler. I'm currently getting errors using real numbers as array indices and do loop iterators.</p>
  
  <p>Thanks!</p>