[parisc-linux] HPPA NPTL Support committed to libc-ports, help

Michael S. Zick mszick at morethan.org
Sat Jul 15 17:17:46 MDT 2006


On Sat July 15 2006 17:59, Carlos O'Donell wrote:
> On 7/15/06, John David Anglin <dave at hiauly1.hia.nrc.ca> wrote:
> > The tests compare the results from various builtin functions
> > against that generated by rather simple implementations compiled
> > with various options.
> >
> > We are failing at least two tests at -O3.  For example, we incorrectly
> > calculate the parity of long longs when bit 31 is 1.  The bit is
> > counted twice (the builtin code generates the correct result).  It's
> > quite hard to follow what's happening due to the loop unrolling.
> >
> > I've spent some time looking at this but I haven't fully identified
> > where things go wrong.  It's somewhere in the rtl dumps posted with
> > the simplified testcase.  The problem was exposed by changes to loop.
> > However, the test code works correctly when compiled without inlining.
> 
> OK.
> 
> That CRC calculation failure which was in glibc is now gone after I
> updated to GCC head as of a month ago. I know that's not a very
> usefull problem report :)
>

Bootstrapping gcc-4.2-20060701 snapshot at "-Os" rather than "-O2" reveals
another warning...

in .../gcc/tree-if-conv.c; line 829::

-      tree phi, cond;
+      tree phi, cond = NULL_TREE;
 
No clue as to why it never complained about that at "-O2" 
(That's gcc-4.2-200607001 bootstrapping gcc-4.2-20060701).
 
> Cheers,
> Carlos.

Mike



More information about the parisc-linux mailing list