The test fails because the generated assembly code assumes the branch
table immediately follows the branch.

        mfia %r19
        ldo 24(%r19),%r19
        ldw,s %r28(%r19),%r31
        extrd,s %r31,63,32,%r31
        add,l %r19,%r31,%r31
        bv,n %r0(%r31)
        .align 8
L$0007:
        .begin_brtab
        .word L$0003-L$0007

The problem is the "ldo" instruction.

This problem was seen on hppa64-hp-hpux11.11 but I believe that it
applies to all hppa targets.


-- 
           Summary: FAIL: gcc.dg/falign-labels-1.c execution test
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: danglin at gcc dot gnu dot org
 GCC build triplet: hppa*-*-*
  GCC host triplet: hppa*-*-*
GCC target triplet: hppa*-*-*


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

Reply via email to