public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/19984] New: nan should be C99 built-in
@ 2005-02-16  1:11 jsm28 at gcc dot gnu dot org
  2005-02-16  3:17 ` [Bug middle-end/19984] " pinskia at gcc dot gnu dot org
  0 siblings, 1 reply; 5+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2005-02-16  1:11 UTC (permalink / raw)
  To: gcc-bugs

The functions nan, nanf, nanl should be C99 built-in functions rather
than just being built-in in the __builtin_ form.

They were wrongly C90 built-ins, changed to be __builtin_ only to fix
bug 14635.  At that time bug 14649 meant they shouldn't be C99 built-ins,
but bug 14649 has been fixed so they now can be C99 built-ins.

-- 
           Summary: nan should be C99 built-in
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jsm28 at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org


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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug middle-end/19984] nan should be C99 built-in
  2005-02-16  1:11 [Bug middle-end/19984] New: nan should be C99 built-in jsm28 at gcc dot gnu dot org
@ 2005-02-16  3:17 ` pinskia at gcc dot gnu dot org
  0 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-02-16  3:17 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-02-15 21:13 -------
Confirmed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-02-15 21:13:01
               date|                            |


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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug middle-end/19984] nan should be C99 built-in
       [not found] <bug-19984-230@http.gcc.gnu.org/bugzilla/>
  2008-02-25 11:40 ` uros at gcc dot gnu dot org
  2008-02-25 12:11 ` ubizjak at gmail dot com
@ 2008-02-29 20:56 ` uros at gcc dot gnu dot org
  2 siblings, 0 replies; 5+ messages in thread
From: uros at gcc dot gnu dot org @ 2008-02-29 20:56 UTC (permalink / raw)
  To: gcc-bugs



------- 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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug middle-end/19984] nan should be C99 built-in
       [not found] <bug-19984-230@http.gcc.gnu.org/bugzilla/>
  2008-02-25 11:40 ` uros at gcc dot gnu dot org
@ 2008-02-25 12:11 ` ubizjak at gmail dot com
  2008-02-29 20:56 ` uros at gcc dot gnu dot org
  2 siblings, 0 replies; 5+ messages in thread
From: ubizjak at gmail dot com @ 2008-02-25 12:11 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from ubizjak at gmail dot com  2008-02-25 12:10 -------
Fixed.


-- 

ubizjak at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.4.0


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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug middle-end/19984] nan should be C99 built-in
       [not found] <bug-19984-230@http.gcc.gnu.org/bugzilla/>
@ 2008-02-25 11:40 ` uros at gcc dot gnu dot org
  2008-02-25 12:11 ` ubizjak at gmail dot com
  2008-02-29 20:56 ` uros at gcc dot gnu dot org
  2 siblings, 0 replies; 5+ messages in thread
From: uros at gcc dot gnu dot org @ 2008-02-25 11:40 UTC (permalink / raw)
  To: gcc-bugs



------- 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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-02-29 20:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-16  1:11 [Bug middle-end/19984] New: nan should be C99 built-in jsm28 at gcc dot gnu dot org
2005-02-16  3:17 ` [Bug middle-end/19984] " pinskia at gcc dot gnu dot org
     [not found] <bug-19984-230@http.gcc.gnu.org/bugzilla/>
2008-02-25 11:40 ` uros at gcc dot gnu dot org
2008-02-25 12:11 ` ubizjak at gmail dot com
2008-02-29 20:56 ` uros at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).