From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19461 invoked by alias); 11 Mar 2007 12:19:26 -0000 Received: (qmail 19426 invoked by uid 48); 11 Mar 2007 12:19:14 -0000 Date: Sun, 11 Mar 2007 12:19:00 -0000 Message-ID: <20070311121914.19425.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug target/30980] [4.3 Regression] Recent complex miscompilation In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "dominiq at lps dot ens dot fr" 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-03/txt/msg00940.txt.bz2 ------- Comment #9 from dominiq at lps dot ens dot fr 2007-03-11 12:19 ------- I confirm that the bug does not show with gcc. Is theis related to the following failures in the regtest? FAIL: gcc.dg/builtins-59.c scan-tree-dump __builtin_cexpi FAIL: gcc.dg/builtins-59.c scan-tree-dump-not sincos FAIL: gcc.dg/builtins-61.c scan-tree-dump cexpi FAIL: gcc.dg/builtins-61.c scan-tree-dump sin FAIL: gcc.dg/builtins-61.c scan-tree-dump cos FAIL: gcc.dg/builtins-61.c scan-tree-dump return 0.0 FAIL: gcc.dg/builtins-62.c scan-tree-dump-times cexpi 3 Also the following fortran code complex(8) :: cplx, t real(8) :: tmp cplx = cmplx(-1.0,0.0,8) t = log(cplx) tmp = 0.5 * imag(t) print *, cos(tmp), sin(tmp) end reproduces the bug. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30980