From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31761 invoked by alias); 18 May 2003 17:26:00 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 31742 invoked by uid 71); 18 May 2003 17:26:00 -0000 Resent-Date: 18 May 2003 17:26:00 -0000 Resent-Message-ID: <20030518172600.31741.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, szegedy@or.uni-bonn.de Received: (qmail 20668 invoked by uid 48); 18 May 2003 17:20:58 -0000 Message-Id: <20030518172058.20667.qmail@sources.redhat.com> Date: Sun, 18 May 2003 17:26:00 -0000 From: szegedy@or.uni-bonn.de Reply-To: szegedy@or.uni-bonn.de To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: c/10844: Wrong computation on nan initialized vectors. X-SW-Source: 2003-05/txt/msg02034.txt.bz2 List-Id: >Number: 10844 >Category: c >Synopsis: Wrong computation on nan initialized vectors. >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: wrong-code >Submitter-Id: net >Arrival-Date: Sun May 18 17:26:00 UTC 2003 >Closed-Date: >Last-Modified: >Originator: Christian Szegedy >Release: gcc (GCC) 3.2.2 >Organization: >Environment: gentoo Linux >Description: The following program outputs nan istead of 0: #include int main() { int n = 10; int i; double *w= (double*)malloc(sizeof(double)*n); double x; for( i=0 ; iHow-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: