public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/10103] New: Targets defining __NO_LONG_DOUBLE_MATH should still have *l prototypes in headers.
@ 2009-04-24 20:30 carlos at codesourcery dot com
  2009-04-24 20:32 ` [Bug libc/10103] " carlos at codesourcery dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: carlos at codesourcery dot com @ 2009-04-24 20:30 UTC (permalink / raw)
  To: glibc-bugs

Many targets in ports, ARM, and HPPA to name two, do not have long double math,
but the compiler treats double and long double as distinct types even though
they have the same size. The GNU C library currently creates aliases to all the
*l functions when long-double-fcts = no, but fails to create *l prototypes in
the headers. To be ISO C99 conforming the headers must have *l prototypes.

Jakub Jelinek proposes a patch here:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39491#c21

Joseph Myers has verified that this patch works for ARM here:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39491#c24

Carlos O'Donell has verified that this path works for HPPA here:

Jakub, could you please attach your patch to this issue with a proper ChangeLog?
I would like this patch to be reviewed and checked into glibc.

Thanks.

-- 
           Summary: Targets defining __NO_LONG_DOUBLE_MATH should still have
                    *l prototypes in headers.
           Product: glibc
           Version: 2.10
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: drepper at redhat dot com
        ReportedBy: carlos at codesourcery dot com
                CC: glibc-bugs at sources dot redhat dot com,jakub at redhat
                    dot com,joseph at codesourcery dot com
 GCC build triplet: hppa-linux-gnu
  GCC host triplet: hppa-linux-gnu
GCC target triplet: hppa-linux-gnu


http://sourceware.org/bugzilla/show_bug.cgi?id=10103

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 6+ messages in thread
[parent not found: <bug-10103-131@http.sourceware.org/bugzilla/>]

end of thread, other threads:[~2014-06-30  9:18 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-24 20:30 [Bug libc/10103] New: Targets defining __NO_LONG_DOUBLE_MATH should still have *l prototypes in headers carlos at codesourcery dot com
2009-04-24 20:32 ` [Bug libc/10103] " carlos at codesourcery dot com
2009-04-24 20:36 ` jakub at redhat dot com
2009-04-27 17:01 ` carlos at codesourcery dot com
     [not found] <bug-10103-131@http.sourceware.org/bugzilla/>
2011-11-04 14:25 ` schwab@linux-m68k.org
2014-06-30  9:18 ` fweimer at redhat dot com

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