From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4558 invoked by alias); 3 Jan 2002 00:26:03 -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 4532 invoked by uid 71); 3 Jan 2002 00:26:01 -0000 Resent-Date: 3 Jan 2002 00:26:01 -0000 Resent-Message-ID: <20020103002601.4531.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-To: nobody@gcc.gnu.org Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, hongche@yahoo-inc.com Received:(qmail 3625 invoked by uid 61); 3 Jan 2002 00:22:14 -0000 Message-Id:<20020103002214.3624.qmail@sources.redhat.com> Date: Wed, 02 Jan 2002 16:26:00 -0000 From: hongche@yahoo-inc.com Reply-To: hongche@yahoo-inc.com To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version:gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: c++/5261: floating point casting problem X-SW-Source: 2002-01/txt/msg00095.txt.bz2 List-Id: >Number: 5261 >Category: c++ >Synopsis: floating point casting problem >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Wed Jan 02 16:26:00 PST 2002 >Closed-Date: >Last-Modified: >Originator: Hongche Liu >Release: gcc version 2.95.3 20010315 (release) [FreeBSD] >Organization: >Environment: FreeBSD 3.4 >Description: On more than 1 instance, whenever there is a floating point operation generate this error. The following example is one of the simplest form. ERROR ____________________________________________________________________________________________________________________________________________________________________ /home/y/bin/g++ -DSHMEM -g -static -I. -I../../../libraries -I.. -I../../../hash -I../../../hash/libhash -I../../../ads/weblogs/intall -I../../../ads -I/usr/local/include -I/usr/local/include/tcl7.6 -c additionalAttributes.C additionalAttributes.C: In method `float AdditionalAttributesTables::getProportion(int, int, int, AdditionalAttributes *)': additionalAttributes.C:439: Internal compiler error. additionalAttributes.C:439: Please submit a full bug report. additionalAttributes.C:439: See for instructions. gmake: *** [additionalAttributes.o] Error 1 CODE with line number ______________________________________________________________ 436 float 437 AdditionalAttributesTables::getProportion(int propEnum, int position, i 437 nt dma, AdditionalAttributes *aa) 438 { 439 float proportion = 1.0; 440 >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: