This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/19984] nan should be C99 built-in
- From: "uros at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 Feb 2008 20:56:05 -0000
- Subject: [Bug middle-end/19984] nan should be C99 built-in
- References: <bug-19984-230@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from uros at gcc dot gnu dot org 2008-02-29 20:56 -------
Subject: Bug 19984
Author: uros
Date: Fri Feb 29 20:55:19 2008
New Revision: 132777
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=132777
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.
PR target/25477
* config/darwin-ppc-ldouble-patch.def (BUILT_IN_NANL): Add.
Added:
branches/gcc-4_3-branch/gcc/testsuite/gcc.dg/pr19984.c
Modified:
branches/gcc-4_3-branch/gcc/ChangeLog
branches/gcc-4_3-branch/gcc/builtins.def
branches/gcc-4_3-branch/gcc/config/darwin-ppc-ldouble-patch.def
branches/gcc-4_3-branch/gcc/testsuite/ChangeLog
branches/gcc-4_3-branch/gcc/testsuite/gcc.dg/dfp/compare-special.h
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19984