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]

[Bug c/39035] if( 0.0DF ) is considered true



------- Comment #4 from janis at gcc dot gnu dot org  2009-02-06 21:01 -------
Subject: Bug 39035

Author: janis
Date: Fri Feb  6 21:01:46 2009
New Revision: 143992

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143992
Log:
        PR c/39035
        * real.c (do_compare): Special-case compare of zero against
        decimal float value.

        * gcc.dg/dfp/pr39035.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/dfp/pr39035.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/real.c
    trunk/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39035


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