public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: hongche@yahoo-inc.com
To: gcc-gnats@gcc.gnu.org
Subject: c++/5261: floating point casting problem
Date: Wed, 02 Jan 2002 16:26:00 -0000	[thread overview]
Message-ID: <20020103002214.3624.qmail@sources.redhat.com> (raw)


>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 <URL:http://www.gnu.org/software/gcc/bugs.html> 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:


             reply	other threads:[~2002-01-03  0:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-02 16:26 hongche [this message]
2002-01-02 22:50 rodrigc
2002-07-03  9:07 lerdsuwa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020103002214.3624.qmail@sources.redhat.com \
    --to=hongche@yahoo-inc.com \
    --cc=gcc-gnats@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).