From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25411 invoked by alias); 17 Jan 2004 14:09:02 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 25404 invoked by uid 48); 17 Jan 2004 14:09:01 -0000 Date: Sat, 17 Jan 2004 14:09:00 -0000 From: "pbrook at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org Message-ID: <20040117140859.13718.pbrook@gcc.gnu.org> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug optimization/13718] New: Miscompilation of comparison of complex values X-Bugzilla-Reason: CC X-SW-Source: 2004-01/txt/msg01980.txt.bz2 List-Id: Something seems to be going wrong with the handling of complex variables. From looking at the tree dumps it seems SRA might be the culprit. Testcase follows. void foo( _Complex float * a, _Complex float * b) { if (*a != *b) abort (); } int main() { _Complex float v; v = 0; foo (&v, &v); } -- Summary: Miscompilation of comparison of complex values Product: gcc Version: tree-ssa Status: UNCONFIRMED Keywords: wrong-code Severity: critical Priority: P2 Component: optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: pbrook at gcc dot gnu dot org CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13718