re PR middle-end/19984 (nan should be C99 built-in)
authorUros Bizjak <uros@gcc.gnu.org>
Mon, 25 Feb 2008 11:39:15 +0000 (12:39 +0100)
committerUros Bizjak <uros@gcc.gnu.org>
Mon, 25 Feb 2008 11:39:15 +0000 (12:39 +0100)
commit93e501259f8eddd9c9e20d9e601335d7f40c4eac
treec8c909fe82d9873ca626a8f6c90bcc8b5449be0a
parent433331d4033f0dd4db8ba9913db0992aefb7ffce
re PR middle-end/19984 (nan should be C99 built-in)

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.

From-SVN: r132617
gcc/ChangeLog
gcc/builtins.def
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/dfp/compare-special.h
gcc/testsuite/gcc.dg/pr19984.c [new file with mode: 0644]