From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2849 invoked by alias); 20 May 2007 14:43:53 -0000 Received: (qmail 2795 invoked by uid 48); 20 May 2007 14:43:42 -0000 Date: Sun, 20 May 2007 14:43:00 -0000 Message-ID: <20070520144342.2794.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/31994] conjg(transpose(a)) produces wrong answer. In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "fxcoudert at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2007-05/txt/msg01610.txt.bz2 ------- Comment #6 from fxcoudert at gcc dot gnu dot org 2007-05-20 15:43 ------- (In reply to comment #5) > What is more > confusing is that I can't trigger this scalarization bug with other intrinsics 10 seconds after I hit the Commit button, I thought about another testcase, and it does also trigger the bug: integer :: a(1,1) real :: b(1,1) a = 0 b = real(transpose(a)) print *, b(1,1) end This time, the interesting thing is that changing "b = real(transpose(a))" into "b = transpose(a)" gets rid of the bug. I think it's somewhere hidden in the intrinsics scalarization, but can't find it. Hopefully someone can go further with this information! -- fxcoudert at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed|2007-05-19 03:29:11 |2007-05-20 15:43:41 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31994