public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* middle-end/7315: DEC floating point support in real.c is broken
@ 2002-07-15 12:16 dave
0 siblings, 0 replies; 4+ messages in thread
From: dave @ 2002-07-15 12:16 UTC (permalink / raw)
To: gcc-gnats; +Cc: mark
>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:
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: middle-end/7315: DEC floating point support in real.c is broken
@ 2002-09-18 18:36 Richard Henderson
0 siblings, 0 replies; 4+ messages in thread
From: Richard Henderson @ 2002-09-18 18:36 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR middle-end/7315; it has been noted by GNATS.
From: Richard Henderson <rth@redhat.com>
To: Steven Bosscher <s.bosscher@student.tudelft.nl>
Cc: dave@hiauly1.hia.nrc.ca, gcc-gnats@gcc.gnu.org, gcc-prs@gcc.gnu.org,
gcc-bugs@gcc.gnu.org, mark@codesourcery.com
Subject: Re: middle-end/7315: DEC floating point support in real.c is broken
Date: Wed, 18 Sep 2002 18:31:36 -0700
On Thu, Sep 19, 2002 at 12:38:50AM +0200, Steven Bosscher wrote:
> Does this still happen with the new real.c implementation?
No.
r~
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: middle-end/7315: DEC floating point support in real.c is broken
@ 2002-09-18 16:16 John David Anglin
0 siblings, 0 replies; 4+ messages in thread
From: John David Anglin @ 2002-09-18 16:16 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR middle-end/7315; it has been noted by GNATS.
From: "John David Anglin" <dave@hiauly1.hia.nrc.ca>
To: s.bosscher@student.tudelft.nl (Steven Bosscher)
Cc: gcc-gnats@gcc.gnu.org, gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org,
mark@codesourcery.com
Subject: Re: middle-end/7315: DEC floating point support in real.c is broken
Date: Wed, 18 Sep 2002 19:10:34 -0400 (EDT)
> http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7315
>
> Does this still happen with the new real.c implementation?
As far as I know, 3.3 is OK. However, the current release branch (3.2)
is still broken and I doubt it can be fixed without an unacceptable
amount of changes to real.c. The 3.2 branch can be built with the
native compiler. 3.3 currently can't.
At some point, I plan to change vax.h back to not using the emulator
on the 3.2 branch. This was the way it was before 3.1/3.2. This will
fix the problem for native compilers but it won't be possible to build
a working cross compiler.
Dave
--
J. David Anglin dave.anglin@nrc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6605)
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: middle-end/7315: DEC floating point support in real.c is broken
@ 2002-09-18 15:46 Steven Bosscher
0 siblings, 0 replies; 4+ messages in thread
From: Steven Bosscher @ 2002-09-18 15:46 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR middle-end/7315; it has been noted by GNATS.
From: Steven Bosscher <s.bosscher@student.tudelft.nl>
To: dave@hiauly1.hia.nrc.ca, gcc-gnats@gcc.gnu.org,
gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org, mark@codesourcery.com
Cc:
Subject: Re: middle-end/7315: DEC floating point support in real.c is broken
Date: Thu, 19 Sep 2002 00:38:50 +0200
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7315
Does this still happen with the new real.c implementation?
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2002-09-19 1:36 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-15 12:16 middle-end/7315: DEC floating point support in real.c is broken dave
2002-09-18 15:46 Steven Bosscher
2002-09-18 16:16 John David Anglin
2002-09-18 18:36 Richard Henderson
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).