[Bug middle-end/19984] nan should be C99 built-in

uros at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Feb 25 11:40:00 GMT 2008



------- Comment #2 from uros at gcc dot gnu dot org  2008-02-25 11:40 -------
Subject: Bug 19984

Author: uros
Date: Mon Feb 25 11:39:15 2008
New Revision: 132617

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=132617
Log:
        PR middle-end/19984
        * builtins.def (BUILT_IN_NAN): Define as c99 builtin
        using DEF_C99_BUILTIN.
        (BUILT_IN_NANF): Ditto.
        (BUILT_IN_NANL): Ditto.

testsuite/ChangeLog:

        PR middle-end/19984
        * gcc.dg/pr19984.c: New test.
        * gcc.dg/dfp/compare-special.h: Use _nan instead of nan as the
        name of the variable.


Added:
    trunk/gcc/testsuite/gcc.dg/pr19984.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/builtins.def
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.dg/dfp/compare-special.h


-- 


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



More information about the Gcc-bugs mailing list