[Bug fortran/31711] Data parallel code gets transformed to serial

thobes at gmail dot com gcc-bugzilla@gcc.gnu.org
Thu Apr 26 09:58:00 GMT 2007



------- Comment #2 from thobes at gmail dot com  2007-04-26 10:58 -------
Data parallel vector operations doesn't seem to get computed correctly in all 
cases. Simple cases such as:

program test

  integer,dimension(0:9)     :: T
  integer                    :: i

  T(0:9) = 0
  T(0) = 1

  T(1:9) = T(1:9) + T(0:8)

  do i=0,9
     write(unit=*,fmt=*) 'T(',i,') = ', T(i)
  end do

end program test

seem to work, but more complex ones does not (see attached file).

This has been tested on a x86 MacBook.


-- 

thobes at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |thobes at gmail dot com


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



More information about the Gcc-bugs mailing list