public inbox for gcc-prs@sourceware.org help / color / mirror / Atom feed
From: dave@hiauly1.hia.nrc.ca To: gcc-gnats@gcc.gnu.org Cc: mark@codesourcery.com Subject: middle-end/7315: DEC floating point support in real.c is broken Date: Mon, 15 Jul 2002 12:16:00 -0000 [thread overview] Message-ID: <20020715191241.16679.qmail@sources.redhat.com> (raw) >Number: 7315 >Category: middle-end >Synopsis: DEC floating point support in real.c is broken >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Mon Jul 15 12:16:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Dave Anglin >Release: 3.1 branch and 3.2 >Organization: >Environment: vax-dec-ultrix4.3 >Description: DEC floating point constants are incorrectly generated by the current emulator in real.c. For example, the complex value output for [(float)1, (float)0] in 20020227-1.c is .align 2 LC0: .long 1065353216 .long 0 The correct value for the first long is 16512. It appears that the IEEE value is being used instead of the DEC value. >How-To-Repeat: The problem can be duplicated with a cross compiler to vax-dec-ultrix4.3. >Fix: A proposed fix for the problem on the main is here: <http://gcc.gnu.org/ml/gcc-patches/2002-06/msg00645.html>. The best solution for the 3.1 branch may be to revert to not defining REAL_ARITHMETIC. >Release-Note: >Audit-Trail: >Unformatted:
next reply other threads:[~2002-07-15 19:16 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2002-07-15 12:16 dave [this message] 2002-09-18 15:46 Steven Bosscher 2002-09-18 16:16 John David Anglin 2002-09-18 18:36 Richard Henderson
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=20020715191241.16679.qmail@sources.redhat.com \ --to=dave@hiauly1.hia.nrc.ca \ --cc=gcc-gnats@gcc.gnu.org \ --cc=mark@codesourcery.com \ /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: linkBe 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).