re PR fortran/32962 (b = conjg(transpose(a)) is erroneous if b is an allocatable...
authorPaul Thomas <pault@gcc.gnu.org>
Mon, 13 Aug 2007 06:16:03 +0000 (06:16 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Mon, 13 Aug 2007 06:16:03 +0000 (06:16 +0000)
commit1229ece065d2312eab6f29e6a012fbb5c6ad6eae
tree6cda691140c2048799e6ece3e64d23a216db0834
parentd9acb717f1469f8fdee0a134cb046b22f5cacd10
re PR fortran/32962 (b = conjg(transpose(a)) is erroneous if b is an allocatable array)

2007-08-13  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/32962
* trans-array.c (gfc_conv_array_transpose): Set the offset
of the destination to zero if the loop is zero based.

2007-08-13  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/32962
* gfortran.dg/transpose_1.f90: New test.

From-SVN: r127391
gcc/fortran/ChangeLog
gcc/fortran/trans-array.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/transpose_1.f90 [new file with mode: 0644]