public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/14635] New: nan functions should not be C90 built-ins
@ 2004-03-18 16:40 jsm28 at gcc dot gnu dot org
  2004-03-18 17:04 ` [Bug c/14635] [3.3/3.4/3.5 Regression] " pinskia at gcc dot gnu dot org
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2004-03-18 16:40 UTC (permalink / raw)
  To: gcc-bugs

The built-in functions nan, nanf, nanl, nans, nansf, nansl are not
part of C90; they should not be built in in C90 mode.  nans* are
not in C99 either.  Furthermore, the treatment of these as constant
expressions in some cases means they shouldn't be built in at all
with the names nan*, only with the __builtin_nan* names.  This accords
with the manual, which only documents them with those names and not as
nan*.

A patch is in testing; this PR is to record the issue as a regression
in 3.4 relative to 3.2.x and earlier.  (The same bug is in 3.3.3 but
would need a separate patch there as builtins.def has been reorganised
since then.)

-- 
           Summary: nan functions should not be C90 built-ins
           Product: gcc
           Version: 3.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c
        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,mark at codesourcery dot
                    com


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


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

end of thread, other threads:[~2005-04-30 14:36 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-18 16:40 [Bug c/14635] New: nan functions should not be C90 built-ins jsm28 at gcc dot gnu dot org
2004-03-18 17:04 ` [Bug c/14635] [3.3/3.4/3.5 Regression] " pinskia at gcc dot gnu dot org
2004-03-20  0:07 ` mmitchel at gcc dot gnu dot org
2004-03-20  0:13 ` jsm at polyomino dot org dot uk
2004-03-20  2:05 ` mark at codesourcery dot com
2004-03-20  3:47 ` gdr at integrable-solutions dot net
2004-03-20 10:19 ` cvs-commit at gcc dot gnu dot org
2004-03-20 10:22 ` cvs-commit at gcc dot gnu dot org
2004-06-11 22:22 ` [Bug c/14635] [3.3 " pinskia at gcc dot gnu dot org
2004-09-28 13:28 ` gdr at gcc dot gnu dot org
2004-11-26 23:07 ` neroden at gcc dot gnu dot org
2004-11-26 23:12 ` joseph at codesourcery dot com
2005-04-30 14:36 ` gdr 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).