This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/32962] b = conjg(transpose(a)) is erroneous if b is an allocatable array



------- Comment #13 from pault at gcc dot gnu dot org  2007-08-13 06:16 -------
Subject: Bug 32962

Author: pault
Date: Mon Aug 13 06:16:03 2007
New Revision: 127391

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=127391
Log:
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.


Added:
    trunk/gcc/testsuite/gfortran.dg/transpose_1.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/trans-array.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]