The scan-assembler popcntb section of the gcc.target/powerpc/parity-1.c
testcase is failing on powerpc-apple-darwin8/9. The compile line...

/sw/src/fink.build/gcc43-4.2.999-20071221/darwin_objdir/gcc/xgcc
-B/sw/src/fink.build/gcc43-4.2.999-20071221/darwin_objdir/gcc/
/sw/src/fink.build/gcc43-4.2.999-20071221/gc
c-4.3-20071221/gcc/testsuite/gcc.target/powerpc/parity-1.c   -O2 -mcpu=power5
-fno-show-column -S  -o parity-1.s

...produces the following assembly code...

        .machine ppc970
        .text
        .align 2
        .p2align 4,,15
        .globl _foo
_foo:
        mflr r0
        rldicl r4,r3,0,32
        li r3,0
        stw r0,8(r1)
        stwu r1,-64(r1)
        bl L___paritydi2$stub
        addi r1,r1,64
        lwz r0,8(r1)
        mtlr r0
        blr
        .section __TEXT,__picsymbolstub1,symbol_stubs,pure_instructions,32
        .align 5
L___paritydi2$stub:
        .indirect_symbol ___paritydi2
        mflr r0
        bcl 20,31,"L00000000001$spb"
"L00000000001$spb":
        mflr r11
        addis r11,r11,ha16(L___paritydi2$lazy_ptr-"L00000000001$spb")
        mtlr r0
        lwzu r12,lo16(L___paritydi2$lazy_ptr-"L00000000001$spb")(r11)
        mtctr r12
        bctr
        .lazy_symbol_pointer
L___paritydi2$lazy_ptr:
        .indirect_symbol ___paritydi2
        .long   dyld_stub_binding_helper
        .subsections_via_symbols

...on powerpc-apple-darwin9.


-- 
           Summary: gcc.target/powerpc/parity-1.c scan-assembler popcntb on
                    darwin9
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: howarth at nitro dot med dot uc dot edu
 GCC build triplet: powerpc-apple-darwin9
  GCC host triplet: powerpc-apple-darwin9
GCC target triplet: powerpc-apple-darwin9


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34575

Reply via email to