This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/39491] [4.2/4.3 regression] symbol __signbitl@GLIBCXX_3.4 in libstdc++ exported
- From: "jakub at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Apr 2009 23:56:45 -0000
- Subject: [Bug libstdc++/39491] [4.2/4.3 regression] symbol __signbitl@GLIBCXX_3.4 in libstdc++ exported
- References: <bug-39491-11764@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #29 from jakub at gcc dot gnu dot org 2009-04-28 23:56 -------
The glibc macro AFAIK does:
# define signbit(x) \
(sizeof (x) == sizeof (float) \
? __signbitf (x) \
: sizeof (x) == sizeof (double) \
? __signbit (x) : __signbitl (x))
when __NO_LONG_DOUBLE_MATH is not defined. For long double x when sizeof
(double) == sizeof (long double) AFAIK this is folded to __signbit (x)
immediately, already in the *.original dump, at -O0 and higher, so I have no
idea how you could ever wind up calling __signbitl. Please explain.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39491