This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ppc warnings


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jakub Jelinek wrote:

Well, if you could send me your comments about
http://sources.redhat.com/ml/libc-hacker/2002-08/msg00102.html
I could try to finish it this or next week...
I thought I already did.

The long double problem should be know for all the time and if somebody used long double on these architectures it is the programmer's fault. Jumping through hoops to enable binary compatibility is nothing I would consider.

The <math.h> change might be acceptable. I don't like the <stdlib.h> change very much, it's very intrusive, but I also have no better idea.

In the place where you introduced __ symbols and make the old names weak alias, use strong_alias. There is no reason to use weak_alias.

Are you sure we can remove NO_LONG_DOUBLE support from the ldbl-96 code? Maybe there'll be some architecture where gcc is not prepared for 128-bit long double.

The ldbl-64-128 code seems to duplicate the 64-bit functions so that they can be aliased. Correct? The duplications shouldn't be necessary but I won't object. In any case, the ldbl-64-128 directory needs a README file explaining the purpose.

I won't comment on the SPARC code, you know it better than I do.


It shouldn't have any impact on ports other than sparc/sparc32
Except uglifying some public headers.


Well, if we really wanted it could be shut down, e.g. by
adding limited_range argument to the macro and adding
!limited_range && to the if clause.
I think some compilers at least report the warning even if you have an unconditional shortcut in the expression. I don't worry about this at all.

- -- - ---------------. ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Red Hat `--' drepper at redhat.com `------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE9dFxM2ijCOnn/RHQRAsqMAJ9gkCan+srSGtrDgLwjc1I06goL+QCcCZli
sGDlbdd3jFLJQH+dDupTlA8=
=nVCo
-----END PGP SIGNATURE-----


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]