This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/31994] conjg(transpose(a)) produces wrong answer.
- From: "dfranke at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 May 2007 09:11:49 -0000
- Subject: [Bug fortran/31994] conjg(transpose(a)) produces wrong answer.
- References: <bug-31994-11715@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from dfranke at gcc dot gnu dot org 2007-05-19 10:11 -------
On
a = transpose(b)
a = transpose(conjg(b))
the TRANSPOSE intrinsic is translated via trans-intrinsic.c
(gfc_conv_intrinsic_funcall) and results in a library call
(_gfortran_transpose_c4), on
a = conjg(transpose(b))
translation is done via trans-array.c (gfc_conv_array_transpose) - no library
function is called.
The latter fails.
--
dfranke at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dfranke at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31994