public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* optimization/7122: -o2 processed floating point code generates bogus NaN
@ 2002-06-25 11:16 hanelyp
  0 siblings, 0 replies; 2+ messages in thread
From: hanelyp @ 2002-06-25 11:16 UTC (permalink / raw)
  To: gcc-gnats


>Number:         7122
>Category:       optimization
>Synopsis:       -o2 processed floating point code generates bogus NaN
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jun 25 10:46:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     hanelyp@calweb.com
>Release:        gcc 2.96 20000731 (redhat linux 7.1 2.96-98)
>Organization:
>Environment:
redhat linux 7.2
cygwin
>Description:
compiling with -o2 produces bogus floating point NaN. Same generated code may work right sometimes and not others.  Libraries (presumably built with this option) are affected, including atof(), sin(), cos()

call to printf() appears to patch bug in some cases.
>How-To-Repeat:
bug encountered developing http://www.calweb.com/~hanelyp/treecad/
>Fix:
As an interum, avoiding this optomization with floating point code.
>Release-Note:
>Audit-Trail:
>Unformatted:


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: optimization/7122: -o2 processed floating point code generates bogus NaN
@ 2003-03-11 22:48 neroden
  0 siblings, 0 replies; 2+ messages in thread
From: neroden @ 2003-03-11 22:48 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, hanelyp, nobody

Synopsis: -o2 processed floating point code generates bogus NaN

State-Changed-From-To: feedback->closed
State-Changed-By: neroden
State-Changed-When: Tue Mar 11 22:48:12 2003
State-Changed-Why:
    No feedback 3 mo.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7122


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-03-11 22:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-06-25 11:16 optimization/7122: -o2 processed floating point code generates bogus NaN hanelyp
2003-03-11 22:48 neroden

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).