public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/7804: bad printing of fp constant in warning message
@ 2002-10-05 5:33 lerdsuwa
0 siblings, 0 replies; 3+ messages in thread
From: lerdsuwa @ 2002-10-05 5:33 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, lerdsuwa, rth
Synopsis: bad printing of fp constant in warning message
State-Changed-From-To: analyzed->closed
State-Changed-By: lerdsuwa
State-Changed-When: Sat Oct 5 05:33:18 2002
State-Changed-Why:
Fixed
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7804
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: c++/7804: bad printing of fp constant in warning message
@ 2002-10-04 10:34 lerdsuwa
0 siblings, 0 replies; 3+ messages in thread
From: lerdsuwa @ 2002-10-04 10:34 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, lerdsuwa, nobody, rth
Synopsis: bad printing of fp constant in warning message
Responsible-Changed-From-To: unassigned->lerdsuwa
Responsible-Changed-By: lerdsuwa
Responsible-Changed-When: Fri Oct 4 10:34:16 2002
Responsible-Changed-Why:
Patch submitted.
State-Changed-From-To: open->analyzed
State-Changed-By: lerdsuwa
State-Changed-When: Fri Oct 4 10:34:16 2002
State-Changed-Why:
Confirmed.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7804
^ permalink raw reply [flat|nested] 3+ messages in thread
* c++/7804: bad printing of fp constant in warning message
@ 2002-09-01 20:56 rth
0 siblings, 0 replies; 3+ messages in thread
From: rth @ 2002-09-01 20:56 UTC (permalink / raw)
To: gcc-gnats
>Number: 7804
>Category: c++
>Synopsis: bad printing of fp constant in warning message
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Sep 01 20:56:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: Richard Henderson
>Release: 3.2 and 3.3
>Organization:
>Environment:
i686-linux
>Description:
z.cc:5: warning: division by zero in `
0x00000000000000000080ff3f0000000000000000 / 0.'
z.cc:6: warning: division by zero in `
0000000000000000000000000000000000000000 / 0.'
>How-To-Repeat:
extern "C" int printf(const char *, ...);
struct S
{
static const float inf = 1.0f / 0.0f;
static const float nan = 0.0f / 0.0f;
};
int main()
{
printf("%f\n%f\n", S::inf, S::nan);
return 0;
}
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-10-05 12:33 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-05 5:33 c++/7804: bad printing of fp constant in warning message lerdsuwa
-- strict thread matches above, loose matches on Subject: below --
2002-10-04 10:34 lerdsuwa
2002-09-01 20:56 rth
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).