public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/21781] real.c incorrectly values zero with a large exponent
[not found] <bug-21781-6@http.gcc.gnu.org/bugzilla/>
@ 2005-10-25 19:49 ` pinskia at gcc dot gnu dot org
2006-03-16 16:34 ` sayle at gcc dot gnu dot org
2006-03-16 18:27 ` pinskia at gcc dot gnu dot org
2 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-10-25 19:49 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from pinskia at gcc dot gnu dot org 2005-10-25 19:49 -------
Confirmed, testcase which shows this is also a rejects valid:
int f[.0e200000000 == 0?1:-1];
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Keywords| |rejects-valid, wrong-code
Last reconfirmed|0000-00-00 00:00:00 |2005-10-25 19:49:43
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21781
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug middle-end/21781] real.c incorrectly values zero with a large exponent
[not found] <bug-21781-6@http.gcc.gnu.org/bugzilla/>
2005-10-25 19:49 ` [Bug middle-end/21781] real.c incorrectly values zero with a large exponent pinskia at gcc dot gnu dot org
@ 2006-03-16 16:34 ` sayle at gcc dot gnu dot org
2006-03-16 18:27 ` pinskia at gcc dot gnu dot org
2 siblings, 0 replies; 5+ messages in thread
From: sayle at gcc dot gnu dot org @ 2006-03-16 16:34 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from sayle at gcc dot gnu dot org 2006-03-16 16:34 -------
Subject: Bug 21781
Author: sayle
Date: Thu Mar 16 16:34:05 2006
New Revision: 112136
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=112136
Log:
PR middle-end/21781
* real.c (real_from_string): If the mantissa is zero, don't bother
parsing the exponent as the result should always be zero.
* gcc.dg/real-const-1.c: New test case.
Added:
trunk/gcc/testsuite/gcc.dg/real-const-1.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/real.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21781
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug middle-end/21781] real.c incorrectly values zero with a large exponent
[not found] <bug-21781-6@http.gcc.gnu.org/bugzilla/>
2005-10-25 19:49 ` [Bug middle-end/21781] real.c incorrectly values zero with a large exponent pinskia at gcc dot gnu dot org
2006-03-16 16:34 ` sayle at gcc dot gnu dot org
@ 2006-03-16 18:27 ` pinskia at gcc dot gnu dot org
2 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-03-16 18:27 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from pinskia at gcc dot gnu dot org 2006-03-16 18:27 -------
Fixed.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.2.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21781
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug middle-end/21781] real.c incorrectly values zero with a large exponent
2005-05-27 12:36 [Bug c/21781] New: " neil at gcc dot gnu dot org
2005-05-27 13:18 ` [Bug middle-end/21781] " pinskia at gcc dot gnu dot org
@ 2005-05-28 11:08 ` jsm28 at gcc dot gnu dot org
1 sibling, 0 replies; 5+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2005-05-28 11:08 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
OtherBugsDependingO| |16620, 16989
nThis| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21781
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug middle-end/21781] real.c incorrectly values zero with a large exponent
2005-05-27 12:36 [Bug c/21781] New: " neil at gcc dot gnu dot org
@ 2005-05-27 13:18 ` pinskia at gcc dot gnu dot org
2005-05-28 11:08 ` jsm28 at gcc dot gnu dot org
1 sibling, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-05-27 13:18 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Component|c |middle-end
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21781
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2006-03-16 18:27 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-21781-6@http.gcc.gnu.org/bugzilla/>
2005-10-25 19:49 ` [Bug middle-end/21781] real.c incorrectly values zero with a large exponent pinskia at gcc dot gnu dot org
2006-03-16 16:34 ` sayle at gcc dot gnu dot org
2006-03-16 18:27 ` pinskia at gcc dot gnu dot org
2005-05-27 12:36 [Bug c/21781] New: " neil at gcc dot gnu dot org
2005-05-27 13:18 ` [Bug middle-end/21781] " pinskia at gcc dot gnu dot org
2005-05-28 11:08 ` jsm28 at gcc dot gnu dot org
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).