public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/31994]  New: conjg(transpose(a)) produces wrong answer.
@ 2007-05-19  0:08 elizabeth dot l dot yip at boeing dot com
  2007-05-19  2:29 ` [Bug fortran/31994] " jvdelisle at gcc dot gnu dot org
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: elizabeth dot l dot yip at boeing dot com @ 2007-05-19  0:08 UTC (permalink / raw)
  To: gcc-bugs

conjg(transpose(a)) produces the wrong answers. Both absoft and ifort  
produce correct answers.

program main
  implicit none
  complex (kind=4),dimension(2,2)::a,b,c
  a(1,1) = (1.,1.)
  a(2,1) = (2.,2.)
  a(1,2) = (3.,3.)
  a(2,2) = (4.,4.)
  print *,"original",a
  b=conjg(transpose(a))
  print *,"H(a)-wrong",b
  c=transpose(a)
  c=conjg(c)
  print *,"H(a)-right",c
END program main


-- 
           Summary: conjg(transpose(a)) produces wrong answer.
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: critical
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: elizabeth dot l dot yip at boeing dot com


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


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2007-06-10  2:15 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-05-19  0:08 [Bug fortran/31994] New: conjg(transpose(a)) produces wrong answer elizabeth dot l dot yip at boeing dot com
2007-05-19  2:29 ` [Bug fortran/31994] " jvdelisle at gcc dot gnu dot org
2007-05-19  2:38 ` jvdelisle at gcc dot gnu dot org
2007-05-19  9:12 ` dfranke at gcc dot gnu dot org
2007-05-20  9:52 ` tkoenig at gcc dot gnu dot org
2007-05-20 14:40 ` fxcoudert at gcc dot gnu dot org
2007-05-20 14:43 ` fxcoudert at gcc dot gnu dot org
2007-05-20 16:08 ` jvdelisle at gcc dot gnu dot org
2007-05-21  9:13 ` pault at gcc dot gnu dot org
2007-05-21 13:16 ` pault at gcc dot gnu dot org
2007-05-21 13:22 ` pault at gcc dot gnu dot org
2007-05-26  3:17 ` pinskia at gcc dot gnu dot org
2007-05-31 18:52 ` pault at gcc dot gnu dot org
2007-06-10  2:15 ` pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).