This is the mail archive of the
mailing list for the GCC project.
Re: GCC 3.0.3 PRs
- From: Paolo Carlini <pcarlini at unitus dot it>
- To: Joe Buck <jbuck at synopsys dot COM>
- Cc: gcc at gcc dot gnu dot org, pmartin at uklinux dot net, bkoz at redhat dot com
- Date: Sat, 08 Dec 2001 00:23:17 +0100
- Subject: Re: GCC 3.0.3 PRs
- References: <200112072220.OAA23976@atrus.synopsys.com>
Joe Buck wrote:
> Paolo writes:
> > Well, it looks like Benjamin has *already* fixed it for the mainline:
> > http://gcc.gnu.org/ml/gcc-patches/2001-12/msg00814.html
> > Apparently, there is a minor nit remaining
> > (http://gcc.gnu.org/ml/gcc-prs/2001-12/msg00432.html) but otherwise, it suffices to
> > backport it to gcc-3_0
> I would call this objection more than a minor nit. First, the proposed
> patch is very slow for base != 10, second, Philip reports that it is
> broken for some values (his example is reading 017777777777 into a long on
> I don't think that backporting this patch would be acceptable until
> these two issues are addressed.
Well, in fact I *cannot* absolutely reproduce the last problem!
On my i686-pc-linux-gnu I could read into a long both 017777777777 and 0x7fffffff.
As for the slowness for base != 10 that could be easily fixed, and notice that in fact one
of those two logarithms is in fact a log(10.0).