This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

c++/5060: Comparisons between double on gcc 2.96



>Number:         5060
>Category:       c++
>Synopsis:       Comparisons between double on gcc 2.96
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Dec 10 04:26:02 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     chailan
>Release:        2.96
>Organization:
>Environment:
Linux  2.4.3-20mdk #1 Sun Apr 15 23:03:10 CEST 2001 i686 unknown
>Description:
Suspicious comparisons between double in following sample.
>How-To-Repeat:
Compile and run to see HELP warnings.
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="double.cc"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="double.cc"

CiNpbmNsdWRlIDxjc3RkZGVmPgojaW5jbHVkZSA8aW9zdHJlYW0+CgppbnQgbWFpbigpCnsKICAg
ZG91YmxlIHggPSAwLjAgOwogICBzdGQ6OmNvdXQgPDwgIlRlc3RpbmcgZmxvYXRpbmcgcG9pbnQg
YmVoYXZpb3VyIiA8PCBzdGQ6OmVuZGwgOwogICBmb3IoIHNpemVfdCBpPTEgOyBpPDEwIDsgaSsr
ICkKICAgewogICAgICBkb3VibGUgeiA9IDEuMC9pIDsgICAgICAKICAgICAgZG91YmxlIG9feCA9
IHggOwogICAgICB4ID0geCArIHogOwogICAgICBpZiggISAoeD09KG9feCArIHopKSkgc3RkOjpj
b3V0IDw8IkhFTFAhIjw8c3RkOjplbmRsIDsKICAgfQogICAKfQo=


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]