public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/19983] __builtin_nan should allow 0X as well as 0x
[not found] <bug-19983-230@http.gcc.gnu.org/bugzilla/>
@ 2006-02-27 3:09 ` sayle at gcc dot gnu dot org
2006-02-27 20:26 ` pinskia at gcc dot gnu dot org
1 sibling, 0 replies; 4+ messages in thread
From: sayle at gcc dot gnu dot org @ 2006-02-27 3:09 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from sayle at gcc dot gnu dot org 2006-02-27 02:26 -------
Subject: Bug 19983
Author: sayle
Date: Mon Feb 27 02:25:57 2006
New Revision: 111470
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=111470
Log:
PR middle-end/19983
* real.c (real_nan): Allow both 0x and 0X as hexadecimal prefixes.
* gcc.c-torture/execute/ieee/builtin-nan-1.c: New test case.
Added:
trunk/gcc/testsuite/gcc.c-torture/execute/ieee/builtin-nan-1.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/real.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19983
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug middle-end/19983] __builtin_nan should allow 0X as well as 0x
[not found] <bug-19983-230@http.gcc.gnu.org/bugzilla/>
2006-02-27 3:09 ` [Bug middle-end/19983] __builtin_nan should allow 0X as well as 0x sayle at gcc dot gnu dot org
@ 2006-02-27 20:26 ` pinskia at gcc dot gnu dot org
1 sibling, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-02-27 20:26 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from pinskia at gcc dot gnu dot org 2006-02-27 20:25 -------
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=19983
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug middle-end/19983] __builtin_nan should allow 0X as well as 0x
2005-02-16 1:09 [Bug middle-end/19983] New: " jsm28 at gcc dot gnu dot org
2005-02-16 3:22 ` [Bug middle-end/19983] " pinskia at gcc dot gnu dot org
@ 2005-02-16 3:31 ` pinskia at gcc dot gnu dot org
1 sibling, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-02-16 3:31 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-02-15 21:28 -------
The bug is very obvious from the code:
if (*str == '0')
{
if (*++str == 'x')
str++, base = 16;
else
base = 8;
}
Note no check for the upercase version of 'X'. (yes I know about the talk about -fwide-exec-charset=
and -finput-charset=).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19983
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug middle-end/19983] __builtin_nan should allow 0X as well as 0x
2005-02-16 1:09 [Bug middle-end/19983] New: " jsm28 at gcc dot gnu dot org
@ 2005-02-16 3:22 ` pinskia at gcc dot gnu dot org
2005-02-16 3:31 ` pinskia at gcc dot gnu dot org
1 sibling, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-02-16 3:22 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-02-15 21:14 -------
Confirmed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Keywords| |rejects-valid
Known to fail| |3.3.3 3.4.0 4.0.0
Last reconfirmed|0000-00-00 00:00:00 |2005-02-15 21:14:04
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19983
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2006-02-27 20:25 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-19983-230@http.gcc.gnu.org/bugzilla/>
2006-02-27 3:09 ` [Bug middle-end/19983] __builtin_nan should allow 0X as well as 0x sayle at gcc dot gnu dot org
2006-02-27 20:26 ` pinskia at gcc dot gnu dot org
2005-02-16 1:09 [Bug middle-end/19983] New: " jsm28 at gcc dot gnu dot org
2005-02-16 3:22 ` [Bug middle-end/19983] " pinskia at gcc dot gnu dot org
2005-02-16 3:31 ` pinskia 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).